View | Details | Raw Unified | Return to bug 203176
Collapse All | Expand All

(-)svscan (-1 / +4 lines)
Lines 70-75 Link Here
70
#
70
#
71
svscan_enable=${svscan_enable-"NO"}
71
svscan_enable=${svscan_enable-"NO"}
72
svscan_servicedir=${svscan_servicedir-"/var/service"}
72
svscan_servicedir=${svscan_servicedir-"/var/service"}
73
svscan_syslog="NO"
73
74
74
start_cmd="svscan_start"
75
start_cmd="svscan_start"
75
stop_postcmd="svscan_stop_post"
76
stop_postcmd="svscan_stop_post"
Lines 85-91 Link Here
85
	echo "Starting svscan."
86
	echo "Starting svscan."
86
	EP="/usr/bin/env \
87
	EP="/usr/bin/env \
87
	PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
88
	PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
88
	if [ -z "${svscan_logdir}" ]; then
89
	if checkyesno svscan_syslog; then
90
		${EP} /usr/sbin/daemon /bin/sh -c "$command $svscan_servicedir 2>&1 | logger -t svscan &" >/dev/null
91
	elif [ -z "${svscan_logdir}" ]; then
89
		${EP} /usr/sbin/daemon /bin/sh -c "$command $svscan_servicedir 2>&1 | /usr/local/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ &" > /dev/null
92
		${EP} /usr/sbin/daemon /bin/sh -c "$command $svscan_servicedir 2>&1 | /usr/local/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ &" > /dev/null
90
	else
93
	else
91
		logmax=${svscan_logmax+s$svscan_logmax}
94
		logmax=${svscan_logmax+s$svscan_logmax}

Return to bug 203176