ttrss-openrc-apache 389 B

12345678910111213141516
  1. #!/sbin/runscript
  2. start() {
  3. ebegin "Starting Apache (with wrapper)"
  4. start-stop-daemon --background --start --exec /bootstrap/start.sh \
  5. --make-pidfile --pidfile /var/run/apache-start.pid
  6. eend $?
  7. }
  8. stop() {
  9. ebegin "Stopping Apache (with wrapper)"
  10. start-stop-daemon --stop --exec /bootstrap/start.sh \
  11. --pidfile /var/run/apache-start.pid
  12. eend $?
  13. }