pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/daemontools-run/files Use procname as the log...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee4cf37c06b2
branches:  trunk
changeset: 366160:ee4cf37c06b2
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Aug 04 19:10:34 2017 +0000

description:
Use procname as the logger tag. No functional change.

diffstat:

 sysutils/daemontools-run/files/svscan.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r b76be0a33836 -r ee4cf37c06b2 sysutils/daemontools-run/files/svscan.sh
--- a/sysutils/daemontools-run/files/svscan.sh  Fri Aug 04 18:51:27 2017 +0000
+++ b/sysutils/daemontools-run/files/svscan.sh  Fri Aug 04 19:10:34 2017 +0000
@@ -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 @@
 : ${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



Home | Main Index | Thread Index | Old Index