diff options
Diffstat (limited to 'app-admin/sysklogd/files')
-rw-r--r-- | app-admin/sysklogd/files/sysklogd.rc6 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/app-admin/sysklogd/files/sysklogd.rc6 b/app-admin/sysklogd/files/sysklogd.rc6 index 59e762787f11..fdb73c3a3489 100644 --- a/app-admin/sysklogd/files/sysklogd.rc6 +++ b/app-admin/sysklogd/files/sysklogd.rc6 @@ -1,18 +1,16 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/files/sysklogd.rc6,v 1.6 2003/07/28 07:08:12 azarah Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/files/sysklogd.rc6,v 1.7 2004/02/13 19:08:43 vapier Exp $ # NB: Config is in /etc/conf.d/sysklogd - depend() { need clock hostname provide logger } start() { - ebegin "Starting syslogd, klogd" start-stop-daemon --start --quiet --background --exec /usr/sbin/syslogd \ -- ${SYSLOGD} @@ -28,7 +26,6 @@ start() { } stop() { - ebegin "Stopping syslogd, klogd" start-stop-daemon --stop --retry 1 --quiet --pidfile /var/run/syslogd.pid retval=$? @@ -36,4 +33,3 @@ stop() { retval=$(( ${retval} + $? )) eend ${retval} "Failed to stop klogd, syslogd" } - |