Files
mullvad-vpn-alpine/mullvad-vpn-daemon/mullvad-vpn-daemon-systemd.post-install
2026-04-23 15:35:00 +02:00

10 lines
404 B
Bash

#!/bin/sh
set -eu
# Enable and start systemd services
if which systemctl >/dev/null 2>&1 && systemctl is-system-running | grep -vq offline >/dev/null 2>&1; then
systemctl enable "/usr/lib/systemd/system/mullvad-daemon.service"
systemctl start mullvad-daemon.service || echo "Failed to start mullvad-daemon.service"
systemctl enable "/usr/lib/systemd/system/mullvad-early-boot-blocking.service"
fi