systemd-activate.rb: add start/stop/restart sockets
(cherry picked from commit 4c9b40ca0e
)
This commit is contained in:
parent
5d054abe6a
commit
6d5246f49f
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue