diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-03-11 22:42:07 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-03-11 22:42:07 +0000 |
commit | d2acfb924b2be43d477a2346f3168e35b81bcc8b (patch) | |
tree | 321daf79e34e7d546c01979829975fd75f443960 /app-admin/metalog/files | |
parent | add logger provide (diff) | |
download | gentoo-2-d2acfb924b2be43d477a2346f3168e35b81bcc8b.tar.gz gentoo-2-d2acfb924b2be43d477a2346f3168e35b81bcc8b.tar.bz2 gentoo-2-d2acfb924b2be43d477a2346f3168e35b81bcc8b.zip |
add nicer fail messages
Diffstat (limited to 'app-admin/metalog/files')
-rw-r--r-- | app-admin/metalog/files/metalog.rc6 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app-admin/metalog/files/metalog.rc6 b/app-admin/metalog/files/metalog.rc6 index 1144f0b9bcc7..e06437974df8 100644 --- a/app-admin/metalog/files/metalog.rc6 +++ b/app-admin/metalog/files/metalog.rc6 @@ -1,7 +1,10 @@ #!/sbin/runscript # 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/metalog/files/metalog.rc6,v 1.6 2002/03/11 22:30:15 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/files/metalog.rc6,v 1.7 2002/03/11 22:42:07 azarah Exp $ + +# NB: Config is in /etc/conf.d/metalog + depend() { need clock @@ -12,11 +15,12 @@ start() { ebegin "Starting metalog" start-stop-daemon --start --quiet --exec /usr/sbin/metalog \ -- -p /var/run/metalog.pid ${METALOG_OPTS} - eend $? + eend $? "Failed to start metalog" } stop() { ebegin "Stopping metalog" start-stop-daemon --stop --quiet --pidfile /var/run/metalog.pid - eend $? + eend $? "Failed to stop metalog" } + |