Feedati/docker/ttrss-openrc-apache

25 lines
533 B
Text
Raw Normal View History

#!/sbin/runscript
2018-08-16 11:36:18 +02:00
depend() {
need ntpd
}
start() {
ebegin "Starting Apache (with wrapper)"
start-stop-daemon --background --start --exec /bootstrap/start.sh \
--make-pidfile --pidfile /var/run/apache-start.pid
eend $?
}
stop() {
ebegin "Stopping Apache (with wrapper)"
start-stop-daemon --stop --exec /bootstrap/start.sh \
--pidfile /var/run/apache-start.pid
start-stop-daemon --stop --exec httpd \
--pidfile /var/run/apache2/httpd.pid
eend $?
}
2018-08-16 11:36:18 +02:00
# vim: set ft=sh bkc=yes: