From d0d48251759d56069a76c74aa6edad296664bf10 Mon Sep 17 00:00:00 2001 From: Konstantin Stepanov Date: Fri, 24 Jul 2015 12:29:04 +0300 Subject: [PATCH] remove persistent from unit templates if necessary --- units/cron-schedule.timer.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/units/cron-schedule.timer.in b/units/cron-schedule.timer.in index 501ddad..78b7bd6 100644 --- a/units/cron-schedule.timer.in +++ b/units/cron-schedule.timer.in @@ -6,6 +6,8 @@ RefuseManualStart=yes RefuseManualStop=yes [Timer] +{{#if persistent}} Persistent=true +{{/if}} OnCalendar={{ schedule }} Unit=cron-{{ schedule }}.target