Feedati/docker/ttrss-openrc-apache
boyska 212791c70a tt-rss updates feeds (introducing OpenRC)
this is a big change: OpenRC introduced to tt-rss container.
However, this also means that environment variables set in
docker-compose.yml are not passed to apache.
2018-08-10 02:51:22 +02:00

16 lines
389 B
Text
Executable file

#!/sbin/runscript
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
eend $?
}