3eac10574c
Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 3862abb010)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
16 lines
295 B
Bash
16 lines
295 B
Bash
#!/bin/sh
|
|
# shellcheck disable=SC2034 # checkpackage-required variable
|
|
DAEMON="apache"
|
|
|
|
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
|