Wip install scripts

This commit is contained in:
Joakim Hulthe committed 2026-04-23 10:23:16 +02:00
1 parent 31152057d6
commit 53e97a6dc2
4 files changed
+11 -5

No files matched your search

@@ -2,7 +2,9 @@
set -eu
echo "mullvad pre-upgrade"
# Are we running systemd?
if which systemctl &> /dev/null && systemctl is-system-running | grep -vq offline &> /dev/null; then
# Is `mullvad-daemon.service` running?
if systemctl status mullvad-daemon &> /dev/null; then
mullvad-setup prepare-restart || true
systemctl stop mullvad-daemon.service