From f5c219983c0f60a07f1bd52b6f6071e86f35455e Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 25 Sep 2023 11:56:34 +0200 Subject: add os config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- os/etc/s6-rc/src/snooze-hourly/run | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 os/etc/s6-rc/src/snooze-hourly/run (limited to 'os/etc/s6-rc/src/snooze-hourly/run') 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" -- cgit 1.4.1