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 11e5dca7fabf67e2bae0e19aafdd39edda76c8b5
parent 99c05e97ae73d343df4e7a0821dc965c3775f465
Author: Morel BĂ©renger <berenger.morel@neutralite.org>
Date:   Thu, 14 Nov 2019 16:03:11 +0100

added templates run scripts for several other busybox daemons

Diffstat:
Aetc/busybox/run/acpid.run | 6++++++
Aetc/busybox/run/crond.run | 6++++++
Aetc/busybox/run/httpd.run | 6++++++
Aetc/busybox/run/telnetd.run | 6++++++
Aetc/busybox/run/watchdog.run | 7+++++++
5 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/etc/busybox/run/acpid.run b/etc/busybox/run/acpid.run @@ -0,0 +1,6 @@ +#!/bin/sh + +. /etc/runit/common + +printf "Preparation done, starting %s.\n" $SVNAME +exec chpst -b acpid busybox -d -f diff --git a/etc/busybox/run/crond.run b/etc/busybox/run/crond.run @@ -0,0 +1,6 @@ +#!/bin/sh + +. /etc/runit/common + +printf "Preparation done, starting %s.\n" $SVNAME +exec chpst -b crond busybox -f -l 0 -L /dev/stderr -c ${CRON_DIR:-"/var/spool/cron/crontabs"} diff --git a/etc/busybox/run/httpd.run b/etc/busybox/run/httpd.run @@ -0,0 +1,6 @@ +#!/bin/sh + +. /etc/runit/common + +printf "Preparation done, starting %s.\n" $SVNAME +exec chpst -b httpd busybox -f -h ${HTTPD_HOME:-"."} diff --git a/etc/busybox/run/telnetd.run b/etc/busybox/run/telnetd.run @@ -0,0 +1,6 @@ +#!/bin/sh + +. /etc/runit/common + +printf "Preparation done, starting %s.\n" $SVNAME +exec chpst -b telnetd busybox -F diff --git a/etc/busybox/run/watchdog.run b/etc/busybox/run/watchdog.run @@ -0,0 +1,7 @@ +#!/bin/sh + +. /etc/runit/common + +test -z "$WATCHDOG_DEV" && die "watchdog needs a device" +printf "Preparation done, starting %s.\n" $SVNAME +exec chpst -b watchdog busybox -F $WATCHDOG_DEV