From: Julien Cristau Date: Mon, 7 Aug 2017 22:57:36 +0000 (-0400) Subject: And fixup cron job X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=745a475a8ed734e2748693a58a1eae1c73a5d9cb;p=mirror%2Fdsa-puppet.git And fixup cron job --- diff --git a/modules/apache2/files/cron-export-scheduled-shutdown b/modules/apache2/files/cron-export-scheduled-shutdown index 0b280db53..b1c09ec88 100644 --- a/modules/apache2/files/cron-export-scheduled-shutdown +++ b/modules/apache2/files/cron-export-scheduled-shutdown @@ -1,2 +1,2 @@ PATH=/usr/local/bin:/usr/bin:/bin -*/2 root mkdir -p /run/dsa/shutdown-marker; if dsa-is-shutdown-scheduled; then echo 'system-in-shutdown' > /run/dsa/shutdown-marker/shutdown-in-progress; else rm -f /run/dsa/shutdown-marker/shutdown-in-progress; fi +*/2 * * * * root mkdir -p /run/dsa/shutdown-marker; if dsa-is-shutdown-scheduled; then echo 'system-in-shutdown' > /run/dsa/shutdown-marker/shutdown-in-progress; else rm -f /run/dsa/shutdown-marker/shutdown-in-progress; fi