nordvpn-off: why is yggdrasil restarted before network is restarted?

This commit is contained in:
Aminda Suomalainen 2024-04-27 12:20:05 +03:00
parent 1e6d481271
commit 585478af97
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -6,13 +6,13 @@ nordvpn set autoconnect off
nordvpn disconnect nordvpn disconnect
sudo systemctl stop nordvpnd.socket sudo systemctl stop nordvpnd.socket
sudo systemctl stop nordvpnd.service sudo systemctl stop nordvpnd.service
sudo systemctl restart yggdrasil.service
sudo systemctl restart iwd.service sudo systemctl restart iwd.service
sudo systemctl restart systemd-networkd.service sudo systemctl restart systemd-networkd.service
sleep 5 sleep 5
sudo systemctl restart unbound.service sudo systemctl restart unbound.service
sudo systemctl restart systemd-resolved.service sudo systemctl restart systemd-resolved.service
sleep 5 sleep 5
sudo systemctl restart yggdrasil.service
sudo chronyc online sudo chronyc online
sudo systemctl restart tor.service sudo systemctl restart tor.service
set +x set +x