summarylogtreecommitdiffstats
path: root/mullvad-vpn.install
diff options
context:
space:
mode:
Diffstat (limited to 'mullvad-vpn.install')
-rw-r--r--mullvad-vpn.install9
1 files changed, 3 insertions, 6 deletions
diff --git a/mullvad-vpn.install b/mullvad-vpn.install
index 0b29ddc28ea2..e276ecebd933 100644
--- a/mullvad-vpn.install
+++ b/mullvad-vpn.install
@@ -18,8 +18,9 @@ pre_install() {
post_install() {
chmod u+s "/usr/bin/mullvad-exclude"
- echo 'Enabling Mullvad VPN daemon...'
+ echo 'Starting & enabling Mullvad VPN daemon...'
systemctl enable --now mullvad-daemon
+ echo 'Enabling Mullvad early boot blocking service...'
systemctl enable mullvad-early-boot-blocking
}
@@ -28,13 +29,9 @@ pre_upgrade() {
}
post_upgrade() {
- echo 'Starting & enabling Mullvad VPN daemon...'
systemctl daemon-reload
- systemctl enable --now mullvad-daemon
- echo 'Enabling Mullvad early boot blocking service...'
- systemctl enable mullvad-early-boot-blocking
- chmod u+s "/usr/bin/mullvad-exclude"
+ post_install
}
pre_remove() {