commit 2cbfe42a6e0a186132563a72dd319d621e1a9447 parent 9b7eea179901ea80edffd901f3e53efb70091150 Author: Morel BĂ©renger <berengermorel76@gmail.com> Date: Thu, 3 Dec 2020 00:41:50 +0100 adds runfiles for busybox cron Diffstat:
A | templates/generic/root/etc/sv/bb-cron/log/run | | | 2 | ++ |
A | templates/generic/root/etc/sv/bb-cron/run | | | 8 | ++++++++ |
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/templates/generic/root/etc/sv/bb-cron/log/run b/templates/generic/root/etc/sv/bb-cron/log/run @@ -0,0 +1 @@ +/etc/runit/log.run+ \ No newline at end of file diff --git a/templates/generic/root/etc/sv/bb-cron/run b/templates/generic/root/etc/sv/bb-cron/run @@ -0,0 +1,8 @@ +#!/bin/sh + +. /etc/runit/common + +test -d "/var/spool/cron/crontabs" || mkdir "/var/spool/cron/crontabs" + +echo "Starting $SVNAME..." +exec chpst -b crond busybox -f -L /dev/stdout