summaryrefslogtreecommitdiffstats
path: root/crash-catcher.init
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-02-25 22:44:31 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-02-25 22:44:31 +0100
commit9b0c3d8a1b5e74e9499175e8ddc6a306c7333455 (patch)
tree141297d815050ad1a085455712ee4d25f3ac3b41 /crash-catcher.init
parent58988f7f1ac7e5ac5f65b82c3a182cffa58e5433 (diff)
downloadabrt-9b0c3d8a1b5e74e9499175e8ddc6a306c7333455.tar.gz
abrt-9b0c3d8a1b5e74e9499175e8ddc6a306c7333455.tar.xz
abrt-9b0c3d8a1b5e74e9499175e8ddc6a306c7333455.zip
More rpm fixes
Diffstat (limited to 'crash-catcher.init')
-rw-r--r--crash-catcher.init10
1 files changed, 7 insertions, 3 deletions
diff --git a/crash-catcher.init b/crash-catcher.init
index 50e14ac5..fa429d4d 100644
--- a/crash-catcher.init
+++ b/crash-catcher.init
@@ -1,9 +1,13 @@
#!/bin/bash
+# Starts the rarpd daemon
+#
+# chkconfig: - 82 16
+# description: Daemon to detect crashing apps
+# processname: crash-catcher
### BEGIN INIT INFO
# Provides: crash-catcher
# Required-Start: $syslog $local_fs
# Required-Stop: $syslog $local_fs
-# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start and stop crash-carcher daemon
# Description: Listen and dispatch crash events
@@ -48,7 +52,7 @@ stop() {
echo -n $"Stopping crash-catcher daemon: "
killproc /usr/sbin/crash-catcher
RETVAL=$?
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/acpid
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/crash-catcher
echo
return $RETVAL
}
@@ -81,7 +85,7 @@ restart)
restart
;;
condrestart)
- if [ -f /var/lock/subsys/acpid ]; then
+ if [ -f /var/lock/subsys/crash-catcher ]; then
restart
fi
;;