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 8d0cee74bb0ae3b6128641846543f05e59c4a911
parent 7c6285542dd96c0d7ed09600b29029af108190e7
Author: Morel BĂ©renger <berenger.morel@neutralite.org>
Date:   Thu, 14 Nov 2019 15:03:00 +0100

added a template for svlogd

Diffstat:
Aetc/runit/log.run | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/etc/runit/log.run b/etc/runit/log.run @@ -0,0 +1,7 @@ +#!/bin/sh + +SVLOG="$(basename $(dirname $(pwd)))" +LOG_PATH="/var/log/$SVLOG" +mkdir -p "$LOG_PATH" +printf "Preparation done, starting %s/log.\n" $SVLOG +exec svlogd -tt "$LOG_PATH"