X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7efde55d4836df42953a3adc0ee32ea098f2dadf..794cc957324de66edab45373053be3e601090f1f:/cookbooks/systemd/resources/timer.rb?ds=sidebyside 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