summaryrefslogtreecommitdiff
path: root/sv/snooze-daily/run
diff options
context:
space:
mode:
authorCameron Nemo <camerontnorman@gmail.com>2018-11-23 19:26:21 -0800
committerLeah Neukirchen <leah@vuxu.org>2018-11-29 16:31:15 +0100
commit206eda3ca7b1e7a9cf51d2e630fcf62b45455997 (patch)
tree72d7944f70bf308d2a364b02b77a4581ecd8499c /sv/snooze-daily/run
parentd44fd0169fcb9ba3debcaab38b526c7c7bf96d61 (diff)
sv: touch timefile in run scripts
Diffstat (limited to 'sv/snooze-daily/run')
-rwxr-xr-xsv/snooze-daily/run3
1 files changed, 2 insertions, 1 deletions
diff --git a/sv/snooze-daily/run b/sv/snooze-daily/run
index 1e6ce55..45b4d07 100755
--- a/sv/snooze-daily/run
+++ b/sv/snooze-daily/run
@@ -1,3 +1,4 @@
#!/bin/sh
mkdir -p /var/cache/snooze
-exec snooze -s 1d -t /var/cache/snooze/daily -- run-parts --lsbsysinit /etc/cron.daily
+exec snooze -s 1d -t /var/cache/snooze/daily -- sh -c \
+ "run-parts --lsbsysinit /etc/cron.daily; : > /var/cache/snooze/daily"