From 4c9b40ca0ed640f752128617ea2788007859fbd6 Mon Sep 17 00:00:00 2001 From: Tobias Happ Date: Wed, 7 Aug 2019 23:12:30 +0200 Subject: [PATCH] systemd-activate.rb: add start/stop/restart sockets --- modules/systemd-activate.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/systemd-activate.rb b/modules/systemd-activate.rb index c0cf8745..8382c840 100644 --- a/modules/systemd-activate.rb +++ b/modules/systemd-activate.rb @@ -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)