sendpage.initd 407 B

123456789101112131415161718192021
  1. #!/sbin/openrc-run
  2. # Copyright 1999-2016 Gentoo Foundation
  3. # Distributed under the terms of the GNU General Public License v2
  4. depend() {
  5. need localmount
  6. }
  7. start() {
  8. ebegin "Starting sendpage"
  9. start-stop-daemon --start --exec /usr/bin/sendpage -- -bd
  10. eend ${?}
  11. }
  12. stop() {
  13. ebegin "Stopping sendpage"
  14. start-stop-daemon --stop -n sendpage
  15. eend ${?}
  16. }