no_new_privileges true
end
+systemd_timer "replication-minutely" do
+ description "Minutely replication"
+ on_boot_sec 60
+ on_unit_active_sec 60
+end
+
template "/etc/replication/changesets.conf" do
source "changesets.conf.erb"
user "root"
mailto "zerebubuth@gmail.com"
end
- systemd_timer "replication-minutely" do
- description "Minutely replication"
- on_boot_sec 60
- on_unit_active_sec 60
+ service "replication-minutely.timer" do
+ action [:enable, :start]
end
cron_d "replication-minutely" do
action :delete
end
+ service "replication-minutely.timer" do
+ action [:stop, :disable]
+ end
+
cron_d "replication-minutely" do
action :delete
end