summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2017-08-04 19:10:34 +0000
committerschmonz <schmonz@pkgsrc.org>2017-08-04 19:10:34 +0000
commit3cbc67ebc60baeb7ec0b9e87bc2242ed64c940c0 (patch)
tree29f5185d8f1e0e639b594afc035aa325b6296e31
parent0f3b17882790a40da8b91d4b227d20ac474e4fe0 (diff)
downloadpkgsrc-3cbc67ebc60baeb7ec0b9e87bc2242ed64c940c0.tar.gz
Use procname as the logger tag. No functional change.
-rw-r--r--sysutils/daemontools-run/files/svscan.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/daemontools-run/files/svscan.sh b/sysutils/daemontools-run/files/svscan.sh
index 96c64562039..6f201160881 100644
--- a/sysutils/daemontools-run/files/svscan.sh
+++ b/sysutils/daemontools-run/files/svscan.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: svscan.sh,v 1.3 2017/08/04 18:44:15 schmonz Exp $
+# $NetBSD: svscan.sh,v 1.4 2017/08/04 19:10:34 schmonz Exp $
#
# @PKGNAME@ script to control svscan (service supervisor).
#
@@ -16,7 +16,7 @@ name="svscan"
: ${svscan_datalimit:="3000000"}
: ${svscan_servicedir:="@VARBASE@/service"}
: ${svscan_log:="YES"}
-: ${svscan_logcmd:="logger -t nb${name} -p daemon.info"}
+: ${svscan_logcmd:="logger -t ${procname} -p daemon.info"}
: ${svscan_nologcmd:="@PREFIX@/bin/multilog -*"}
if [ -f /etc/rc.subr ]; then