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