mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
Also preinst and postrm are removed. busybox's httpd isn't installed by default, so these gimmicks seem antiquated. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
21 lines
216 B
Bash
21 lines
216 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
START=99
|
|
|
|
reload() {
|
|
apachectl -k restart
|
|
}
|
|
|
|
restart() {
|
|
apachectl -k restart
|
|
}
|
|
|
|
start() {
|
|
mkdir -p /var/log/apache2 /var/run/apache2
|
|
apachectl -k start
|
|
}
|
|
|
|
stop() {
|
|
apachectl -k stop
|
|
}
|