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 6e4af11a36690c1e96da8332d1ae19742a4a5951
parent 64accbd18b4c66b3f03eecc5174c445a5918af5a
Author: Morel BĂ©renger <berenger.morel@neutralite.org>
Date:   Thu, 14 Nov 2019 15:43:57 +0100

implemented templates for bb/klogd, runit/klogd, bb/syslogd

Diffstat:
Aetc/busybox/run/klogd.run | 6++++++
Aetc/busybox/run/syslogd.run | 6++++++
Aetc/runit/klogd.run | 8++++++++
3 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/etc/busybox/run/klogd.run b/etc/busybox/run/klogd.run @@ -0,0 +1,6 @@ +#!/bin/sh + +. /etc/runit/common + +printf "Preparation done, starting %s.\n" $SVNAME +exec chpst -b klogd busybox -n diff --git a/etc/busybox/run/syslogd.run b/etc/busybox/run/syslogd.run @@ -0,0 +1,6 @@ +#!/bin/sh + +. /etc/runit/common + +printf "Preparation done, starting %s.\n" $SVNAME +exec chpst -b syslogd busybox -n diff --git a/etc/runit/klogd.run b/etc/runit/klogd.run @@ -0,0 +1,8 @@ +#!/bin/sh + +. /etc/runit/common + +LOG_PATH="/var/log/$SVNAME" +mkdir -p "$LOG_PATH" +printf "Preparation done, starting %s.\n" $SVNAME +exec chpst -b $SVNAME svlogd -tt "$LOG_PATH" < /proc/kmsg