![Fabrice Fontaine](/assets/img/avatar_default.png)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
16 lines
222 B
Bash
16 lines
222 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
start|restart|graceful|graceful-stop|stop)
|
|
apachectl -k $1
|
|
;;
|
|
reload)
|
|
apachectl -k restart
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start|restart|reload|graceful|graceful-stop|stop}"
|
|
exit 1
|
|
esac
|
|
|
|
exit $?
|