kumquat-buildroot/package/apache/S50apache
Fabrice Fontaine fe03f5231f apache: add init sysv script
sysv init script is just a wrapper to apachectl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-06-21 21:40:58 +02:00

13 lines
179 B
Bash

#!/bin/sh
case "$1" in
start|restart|graceful|graceful-stop|stop)
apachectl -k $1
;;
*)
echo "Usage: $0 {start|restart|graceful|graceful-stop|stop}"
exit 1
esac
exit $?