doh 220 B

123456789101112131415
  1. #!/sbin/openrc-run
  2. supervisor=supervise-daemon
  3. name=doh-server
  4. command="$name"
  5. command_args="-conf /etc/doh/server.conf"
  6. pidfile="/run/$name.pid"
  7. command_user="www:www"
  8. depend() {
  9. need net
  10. need dns
  11. after firewall
  12. }