diff --git a/install-components b/install-components index a2c92bf..61f7d32 100755 --- a/install-components +++ b/install-components @@ -2,6 +2,10 @@ # new lib folder sudo mkdir -p /usr/lib/melon-vpn/ +# stop and disable daemon first +sudo systemctl stop melonvpndaemon +sudo systemctl disable melonvpndaemon + # copying sudo cp MelonVPNCore/bin/Release/MelonVPNCore.dll /usr/lib/melon-vpn/ sudo cp MelonVPNCore/bin/Release/Newtonsoft.Json.dll /usr/lib/melon-vpn/ @@ -59,8 +63,6 @@ sudo chmod +x /usr/bin/melonvpnclient echo "[info] Restarting daemon" # cuz science -sudo systemctl stop melonvpndaemon -sudo systemctl disable melonvpndaemon sudo systemctl daemon-reload sudo systemctl enable melonvpndaemon sudo systemctl start melonvpndaemon