1
0
Fork 0
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:
Tobias Happ 2019-08-07 23:12:30 +02:00
parent d625186ce5
commit 4c9b40ca0e

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'] } 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)