You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
477 B

  1. #!/bin/sh /etc/rc.common
  2. USE_PROCD=1
  3. START=50
  4. SCRIPT=/usr/lib/acme/run-acme
  5. start_service()
  6. {
  7. procd_open_instance
  8. procd_set_param command $SCRIPT
  9. procd_set_param file /etc/config/acme
  10. procd_set_param stdout 1
  11. procd_set_param stderr 1
  12. procd_close_instance
  13. }
  14. reload_service() {
  15. rc_procd start_service "$@"
  16. return 0
  17. }
  18. stop_service() {
  19. return 0
  20. }
  21. boot() {
  22. $SCRIPT check_cron
  23. }
  24. service_triggers()
  25. {
  26. procd_add_reload_trigger acme
  27. }