Initial Commit
- initial default booting image
This commit is contained in:
17
package/apache/S50apache
Normal file
17
package/apache/S50apache
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
# shellcheck disable=SC2034 # checkpackage-required variable
|
||||
DAEMON="apache"
|
||||
|
||||
mkdir -p "/var/log/apache2" "/var/run/apache2"
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user