systemd: skip services taking an instance parameter

Fixes #730
This commit is contained in:
Robert Helgesson 2020-03-02 20:33:20 +01:00
parent 7bd043e9ee
commit 28401ddd91
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -76,7 +76,7 @@ def get_services(dir)
end end
def get_service_files(dir) def get_service_files(dir)
Dir.chdir(dir) { Dir['*.{service,socket,timer}'] } Dir.chdir(dir) { Dir['*[^@].{service,socket,timer}'] }
end end
def get_changed_services(dir_a, dir_b, services) def get_changed_services(dir_a, dir_b, services)