nextdns / nextdns

NextDNS CLI client (DoH Proxy)
https://nextdns.io
MIT License
3.24k stars 200 forks source link

EdgeOS - stop, start, and restart commands fail #206

Closed chronon closed 4 years ago

chronon commented 4 years ago

Running nextdns restart (or stop or start) fail and result in error message:

Error: systemctl restart nextdns.service: exit status 1: Failed to restart nextdns.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status nextdns.service' for details.

Output from systemctl status nextdns.service:

* nextdns.service - NextDNS DNS53 to DoH proxy.
   Loaded: loaded (/etc/systemd/system/nextdns.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-05-08 20:30:36 UTC; 12min ago
 Main PID: 20400 (nextdns)
   CGroup: /system.slice/nextdns.service
           `-20400 /config/nextdns/nextdns run

Context

chronon commented 4 years ago

Either this was fixed in a recent release or I forgot to sudo the nextdns commands - stop, start, and restart all work for me now.