apache: add reload target to sysv init script

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2018-06-22 18:36:28 +02:00 committed by Peter Korsgaard
parent 7574a5b055
commit 876917689b

View file

@ -4,8 +4,11 @@ case "$1" in
start|restart|graceful|graceful-stop|stop)
apachectl -k $1
;;
reload)
apachectl -k restart
;;
*)
echo "Usage: $0 {start|restart|graceful|graceful-stop|stop}"
echo "Usage: $0 {start|restart|reload|graceful|graceful-stop|stop}"
exit 1
esac