autoinst

scripts to make installation of custom debian easier and more automated
git clone git://deadbeef.fr/autoinst.git
Log | Files | Refs | README | LICENSE

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:
Atemplates/generic/root/etc/sv/bb-cron/log/run | 2++
Atemplates/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