1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

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
def get_service_files(dir)
Dir.chdir(dir) { Dir['*.{service,socket,timer}'] }
Dir.chdir(dir) { Dir['*[^@].{service,socket,timer}'] }
end
def get_changed_services(dir_a, dir_b, services)