From 28401ddd913d046ec77ce00d67d845e33bb9f075 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Mon, 2 Mar 2020 20:33:20 +0100 Subject: [PATCH] systemd: skip services taking an instance parameter Fixes #730 --- 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 e502fe22..12791ce3 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,socket,timer}'] } + Dir.chdir(dir) { Dir['*[^@].{service,socket,timer}'] } end def get_changed_services(dir_a, dir_b, services)