From 647fa59ecbc8b51309ef20288de5eb73a042f869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Mon, 19 Jan 2026 20:18:38 +0100 Subject: initial import --- vlogger@/run | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 vlogger@/run (limited to 'vlogger@') diff --git a/vlogger@/run b/vlogger@/run new file mode 100755 index 0000000..05956cc --- /dev/null +++ b/vlogger@/run @@ -0,0 +1,12 @@ +#!/bin/sh + +[ -r ./conf ] && . ./conf +# when running as vlogger@some, this is "some" +# when symlinked as `log` in a service `foo`, this is "foo" +# when symlinked as `log` in a service `foo@bar`, this is "bar" +# when running as LOG, this is "", aka `conf.` +[ -r ./conf."$1" ] && . ./conf."$1" + +: ${PRIORITY=daemon} ${TAG:=$1} + +exec vlogger ${PRIORITY:+-p "$PRIORITY"} ${TAG:+-t "$TAG"} $OPTS -- cgit v1.2.3