summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/gluelog/files/svc-syslog')
-rwxr-xr-xsys-apps/gluelog/files/svc-syslog8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/gluelog/files/svc-syslog b/sys-apps/gluelog/files/svc-syslog
index b3f3791c8b02..3329fcbdfdc7 100755
--- a/sys-apps/gluelog/files/svc-syslog
+++ b/sys-apps/gluelog/files/svc-syslog
@@ -3,17 +3,17 @@
. /etc/rc.d/config/functions
-SERVICE=svc-syslog
+SERVICE=syslog
opts="start stop"
start() {
- ebegin "Starting ${SERVICE}"
+ ebegin "Starting supervised ${SERVICE}"
ln -sf ../services/${SERVICE} ${SVCDIR}/control/${SERVICE}
- eend $retval
+ eend $?
}
stop() {
- ebegin "Stopping ${SERVICE}"
+ ebegin "Stopping supervised ${SERVICE}"
if [ -e ${SVCDIR}/control/${SERVICE} ]
then
/usr/bin/svc -dx ${SVCDIR}/control/${SERVICE}