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.

17 lines
361 B

  1. #!/bin/sh /etc/rc.common
  2. PROG=/usr/bin/AdGuardHome
  3. USE_PROCD=1
  4. # starts after network starts
  5. START=21
  6. # stops before networking stops
  7. STOP=89
  8. start_service() {
  9. procd_open_instance
  10. procd_set_param command "$PROG" -c /etc/adguardhome.yaml -w /tmp/adguardhome --no-check-update
  11. procd_set_param stdout 1
  12. procd_set_param stderr 1
  13. procd_close_instance
  14. }