summaryrefslogtreecommitdiffhomepage
path: root/dist-assets/linux/mullvad-early-boot-blocking.service
blob: 466eebb79667fdc2563209e60ad0b77c56676f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Systemd service unit file to block all traffic during early boot.
# This is required since almost no distributions use a `network-pre.target`,
# which implies it's difficult to ensure that the daemon will start and block
# traffic before any network configuration will be applied.
#
[Unit]
Description=Mullvad early boot network blocker
DefaultDependencies=no
Before=basic.target mullvad-daemon.service

[Service]
Type=oneshot
ExecStart=/usr/bin/mullvad-daemon --initialize-early-boot-firewall

[Install]
WantedBy=mullvad-daemon.service