mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- make status & condrestart work
This commit is contained in:
parent
a6bb2b9405
commit
811ee9410c
1 changed files with 2 additions and 2 deletions
|
@ -76,13 +76,13 @@ case "$1" in
|
|||
stop
|
||||
;;
|
||||
status)
|
||||
status logstashd
|
||||
status -p /var/run/logstash/logstashd.pid logstashd
|
||||
;;
|
||||
restart|reload|force-reload)
|
||||
restart
|
||||
;;
|
||||
condrestart)
|
||||
[ -f /var/lock/subsys/memcached ] && restart || :
|
||||
[ -f /var/lock/subsys/logstashd ] && restart || :
|
||||
;;
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue