summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-01-13 20:07:52 +0000
committerAchim Gottinger <achim@gentoo.org>2001-01-13 20:07:52 +0000
commite0bcb4d5442b6e1e855122a9a485add0031c45aa (patch)
treeda81203634c946255e2198f397d5fd7284f67e77 /sys-apps/gluelog/files
parent*** empty log message *** (diff)
downloadhistorical-e0bcb4d5442b6e1e855122a9a485add0031c45aa.tar.gz
historical-e0bcb4d5442b6e1e855122a9a485add0031c45aa.tar.bz2
historical-e0bcb4d5442b6e1e855122a9a485add0031c45aa.zip
*** empty log message ***
Diffstat (limited to 'sys-apps/gluelog/files')
-rwxr-xr-xsys-apps/gluelog/files/svc-klog6
-rwxr-xr-xsys-apps/gluelog/files/svc-syslog8
2 files changed, 7 insertions, 7 deletions
diff --git a/sys-apps/gluelog/files/svc-klog b/sys-apps/gluelog/files/svc-klog
index a366f6411215..129ed7c0af4a 100755
--- a/sys-apps/gluelog/files/svc-klog
+++ b/sys-apps/gluelog/files/svc-klog
@@ -3,17 +3,17 @@
. /etc/rc.d/config/functions
-SERVICE=svc-klog
+SERVICE=klog
opts="start stop"
start() {
- ebegin "Starting ${SERVICE}"
+ ebegin "Starting supervised ${SERVICE}"
ln -sf ../services/${SERVICE} ${SVCDIR}/control/${SERVICE}
eend $?
}
stop() {
- ebegin "Stopping ${SERVICE}"
+ ebegin "Stopping supervised ${SERVICE}"
if [ -e ${SVCDIR}/control/${SERVICE} ]
then
/usr/bin/svc -dx ${SVCDIR}/control/${SERVICE}
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}