bash/usr-local-bin/nordvpn-off: add restarting unbound & systemd-resolved

This commit is contained in:
Aminda Suomalainen 2024-04-24 18:00:43 +03:00
parent c3ef1c7c4e
commit e8f071993a
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -10,5 +10,8 @@ sudo systemctl restart yggdrasil.service
sudo systemctl restart iwd.service
sudo systemctl restart systemd-networkd.service
sleep 5
sudo systemctl restart unbound.service
sudo systemctl restart systemd-resolved.service
sleep 5
sudo chronyc online
set +x