sudoers.d/nordvpnd: also allow restarting Tor

This commit is contained in:
Aminda Suomalainen 2024-04-27 12:10:15 +03:00
parent 955e52f5af
commit ef9c4acfc3
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -15,4 +15,7 @@
# Clearing DNS caches once we are disconnected
%nordvpn ALL=NOPASSWD: /bin/systemctl restart unbound.service
%nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-resolved.service
# Tor complains about failures for a while and then notes IP change and
# regenerates keys, so it should probably be here too.
%nordvpn ALL=NOPASSWD: /bin/systemctl restart tor.service
# vim: filetype=sudoers