mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
sudoers.d/nordvpnd: add restarting unbound & systemd-resolved
This commit is contained in:
parent
32c5da4422
commit
7113fda702
@ -12,3 +12,7 @@
|
||||
%nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-networkd.service
|
||||
# Tells Chrony we are connected and thus maybe connects to IPv6 NTP servers
|
||||
%nordvpn ALL=NOPASSWD: /usr/bin/chronyc online
|
||||
# Clearing DNS caches once we are disconnected
|
||||
%nordvpn ALL=NOPASSWD: /bin/systemctl restart unbound.service
|
||||
%nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-resolved.service
|
||||
# vim: filetype=sudoers
|
||||
|
Loading…
Reference in New Issue
Block a user