sudoers.d/nordvpnd: add restarting of iwd & systemd-networkd

This commit is contained in:
Aminda Suomalainen 2024-04-20 07:42:40 +03:00
parent 6a87111f8b
commit 4a889dd9b4
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 3 additions and 0 deletions

View File

@ -7,3 +7,6 @@
# used in my scripts and nordvpn.service.d and yggdrasil.service.d to ensure
# it works
%nordvpn ALL=NOPASSWD: /bin/systemctl restart yggdrasil.service
# used in my scripts of disconnecting from nordvpn and restoring IPv6
%nordvpn ALL=NOPASSWD: /bin/systemctl restart iwd.service
%nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-networkd.service