summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2015-10-23 20:06:55 +0200
committerDavid Sommerseth <davids@redhat.com>2015-10-23 20:06:55 +0200
commit8a2f85f8bb7da4b9d66145a734f7ea1902c8c600 (patch)
treeeb93dde4552e3fd497f4d6cc2ce1b62e20585d98
parent9acc7ebe7d30b91a6d8286856e1b9e20f37b7e59 (diff)
downloadlogactio-8a2f85f8bb7da4b9d66145a734f7ea1902c8c600.tar.gz
logactio-8a2f85f8bb7da4b9d66145a734f7ea1902c8c600.tar.xz
logactio-8a2f85f8bb7da4b9d66145a734f7ea1902c8c600.zip
Fix a few mistakes in the sysv-init script
- Do not start logactio by default when installing this service - Be explicit on which subsys this init script is used for Signed-off-by: David Sommerseth <davids@redhat.com>
-rwxr-xr-xinit/sysv/logactio4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/sysv/logactio b/init/sysv/logactio
index 03047d7..728fc45 100755
--- a/init/sysv/logactio
+++ b/init/sysv/logactio
@@ -12,7 +12,7 @@
# Required-Stop: $network $syslog
# Should-Start: $syslog
# Should-Stop:
-# Default-Start: 2 3 4 5
+# Default-Start:
# Default-Stop: 0 1 6
# Short-Description: Takes care of starting and stopping the logactio daemon
# Description: logactio can watch log files and execute configured actions
@@ -28,7 +28,7 @@ config="/etc/logactio.cfg"
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
-lockfile=/var/lock/subsys/$prog
+lockfile=/var/lock/subsys/logactio
pidfile=/var/run/$prog.pid
start() {