diff options
Diffstat (limited to 'os/etc/s6-rc/src/snooze-hourly')
| -rw-r--r-- | os/etc/s6-rc/src/snooze-hourly/producer-for | 1 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/snooze-hourly/run | 8 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/snooze-hourly/type | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/os/etc/s6-rc/src/snooze-hourly/producer-for b/os/etc/s6-rc/src/snooze-hourly/producer-for new file mode 100644 index 0000000..78f2503 --- /dev/null +++ b/os/etc/s6-rc/src/snooze-hourly/producer-for @@ -0,0 +1 @@ +snooze-log diff --git a/os/etc/s6-rc/src/snooze-hourly/run b/os/etc/s6-rc/src/snooze-hourly/run new file mode 100644 index 0000000..af80a9c --- /dev/null +++ b/os/etc/s6-rc/src/snooze-hourly/run @@ -0,0 +1,8 @@ +#!/bin/execlineb -P + +fdmove -c 2 1 + +foreground { mkdir -p /run/snooze } + +exec snooze -v -H * -s 1h -t /run/snooze/hourly execlineb -c \ + "foreground { pipeline { test -d /etc/cron.hourly } run-parts -v /etc/cron.hourly } touch /run/snooze/hourly" diff --git a/os/etc/s6-rc/src/snooze-hourly/type b/os/etc/s6-rc/src/snooze-hourly/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/os/etc/s6-rc/src/snooze-hourly/type @@ -0,0 +1 @@ +longrun |