X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7efde55d4836df42953a3adc0ee32ea098f2dadf..bf640328133e47a7c686b60cf73f63b3cd606b29:/cookbooks/systemd/resources/timer.rb diff --git a/cookbooks/systemd/resources/timer.rb b/cookbooks/systemd/resources/timer.rb index 7029816c2..f3f324ea0 100644 --- a/cookbooks/systemd/resources/timer.rb +++ b/cookbooks/systemd/resources/timer.rb @@ -57,14 +57,14 @@ action :create do group "root" mode "644" variables timer_variables + notifies :run, "execute[systemctl-reload]" end - execute "systemctl-reload-#{new_resource.timer}.timer" do + execute "systemctl-reload" do action :nothing command "systemctl daemon-reload" user "root" group "root" - subscribes :run, "template[/etc/systemd/system/#{new_resource.timer}.timer]" end end