Files
buildroot/package/apache/S50apache
T
Fiona Klute 3eac10574c package/apache: fix checkpackage warnings in init script
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>
2026-01-09 16:11:55 +01:00

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