mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
systemd-activate.rb: add start/stop/restart sockets
This commit is contained in:
parent
d625186ce5
commit
4c9b40ca0e
1 changed files with 1 additions and 1 deletions
|
@ -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'] }
|
Dir.chdir(dir) { Dir['*.{service,socket}'] }
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_changed_services(dir_a, dir_b, services)
|
def get_changed_services(dir_a, dir_b, services)
|
||||||
|
|
Loading…
Reference in a new issue