From 3b2f705c8cd6385025f4f1874913ac4480acbe4f Mon Sep 17 00:00:00 2001 From: Adrian Date: Thu, 23 Sep 2021 10:22:40 -0700 Subject: [PATCH] (SUP-2682) Remove Requires= property from timers Prior to this commit, this property created an unwanted dependency between the timer and service. The effect is that starting the timer will immediately start the service regardless of the schedule. Removing this property allows the implicit relationships to work properly. --- templates/timer.epp | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/timer.epp b/templates/timer.epp index 348bb62..b262fe1 100644 --- a/templates/timer.epp +++ b/templates/timer.epp @@ -1,7 +1,6 @@ <%- | String $tables, String $on_cal | -%> [Unit] Description=Timer to trigger repacking PE database tables -Requires=pe_databases-<%= $tables %>.service [Timer] OnCalendar=<%= $on_cal %>