diff options
Diffstat (limited to 'app-admin/sysklogd/files')
-rw-r--r-- | app-admin/sysklogd/files/digest-sysklogd-1.4.1-r4 | 1 | ||||
-rw-r--r-- | app-admin/sysklogd/files/sysklogd.rc6 | 18 |
2 files changed, 12 insertions, 7 deletions
diff --git a/app-admin/sysklogd/files/digest-sysklogd-1.4.1-r4 b/app-admin/sysklogd/files/digest-sysklogd-1.4.1-r4 new file mode 100644 index 000000000000..9e53804f2d1c --- /dev/null +++ b/app-admin/sysklogd/files/digest-sysklogd-1.4.1-r4 @@ -0,0 +1 @@ +MD5 d214aa40beabf7bdb0c9b3c64432c774 sysklogd-1.4.1.tar.gz 81784 diff --git a/app-admin/sysklogd/files/sysklogd.rc6 b/app-admin/sysklogd/files/sysklogd.rc6 index 32511389081d..e1c1829ab5d1 100644 --- a/app-admin/sysklogd/files/sysklogd.rc6 +++ b/app-admin/sysklogd/files/sysklogd.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2002 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.3 2003/02/14 22:34:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sysklogd/files/sysklogd.rc6,v 1.4 2003/05/11 21:06:32 azarah Exp $ # NB: Config is in /etc/conf.d/sysklogd @@ -14,11 +14,15 @@ depend() { start() { ebegin "Starting syslogd, klogd" - start-stop-daemon --start --quiet --exec /usr/sbin/syslogd -- ${SYSLOGD} + start-stop-daemon --start --quiet --background --exec /usr/sbin/syslogd \ + -- ${SYSLOGD} retval=$? + # klogd do not always start proper if started too early - sleep 2 - start-stop-daemon --start --quiet --exec /usr/sbin/klogd -- ${KLOGD} + sleep 1 + + start-stop-daemon --start --quiet --exec /usr/sbin/klogd \ + -- ${KLOGD} retval=$(( ${retval} + $? )) eend ${retval} "Failed to start syslogd, klogd" } @@ -26,9 +30,9 @@ start() { stop() { ebegin "Stopping klogd, syslogd" - start-stop-daemon --stop --quiet --pidfile /var/run/klogd.pid + start-stop-daemon --stop --retry 1 --quiet --pidfile /var/run/klogd.pid retval=$? - start-stop-daemon --stop --quiet --pidfile /var/run/syslogd.pid + start-stop-daemon --stop --retry 1 --quiet --pidfile /var/run/syslogd.pid retval=$(( ${retval} + $? )) eend ${retval} "Failed to stop klogd, syslogd" } |