systemd-activate.rb: add start/stop/restart sockets

(cherry picked from commit 4c9b40ca0e)
This commit is contained in:
Tobias Happ 2019-08-07 23:12:30 +02:00 committed by Robert Helgesson
parent 5d054abe6a
commit 6d5246f49f
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'] }
Dir.chdir(dir) { Dir['*.{service,socket}'] }
end
def get_changed_services(dir_a, dir_b, services)