summary refs log tree commit diff
path: root/os/etc/s6-rc/src/snooze-daily/run
blob: f7e83008c1c1468f30ea313b7522bbc912929d44 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/execlineb -P

fdmove -c 2 1

foreground { mkdir -p /run/snooze }

exec snooze -s 1d -t /run/snooze/daily -- execlineb -c \
	"foreground { pipeline { test -d /etc/cron.daily } run-parts -v /etc/cron.daily } touch /run/snooze/daily"