systemd-activate.rb: add start/stop/restart sockets
This commit is contained in:
parent
d625186ce5
commit
4c9b40ca0e
|
@ -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