Skip to content

Commit

Permalink
fixed centos init script to use /var/run/logstash/ for lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
Oded Maimon committed May 16, 2013
1 parent 029eb47 commit 143ace4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/logstash.sysv.redhat
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ case "$1" in
start)
echo -n "Starting $DESC: "
do_start
touch /var/lock/subsys/logstash/$NAME
touch /var/run/logstash/$NAME
;;
stop)
echo -n "Stopping $DESC: "
do_stop
rm /var/lock/subsys/logstash/$NAME
rm /var/run/logstash/$NAME
;;
restart|reload)
echo -n "Restarting $DESC: "
Expand Down

0 comments on commit 143ace4

Please sign in to comment.