diff options
| author | Emīls Piņķis <emils@mullvad.net> | 2018-04-17 16:01:26 +0100 |
|---|---|---|
| committer | Emīls Piņķis <emils@mullvad.net> | 2018-04-17 16:01:26 +0100 |
| commit | c4051935bce33d57d0708a4ed610279e67b58ce2 (patch) | |
| tree | 5ee6bb5e2bf9e7d03ff05f02efd266968e7e1460 /linux | |
| parent | 0009eca64d31768b6eef1be787761b217cf0cdc8 (diff) | |
| parent | 06618e704849a42cf3dc522d9d30efac5c07d869 (diff) | |
| download | mullvadvpn-c4051935bce33d57d0708a4ed610279e67b58ce2.tar.xz mullvadvpn-c4051935bce33d57d0708a4ed610279e67b58ce2.zip | |
Merge branch 'linux-packaging'
Diffstat (limited to 'linux')
| -rw-r--r-- | linux/install_script.sh | 4 | ||||
| -rw-r--r-- | linux/mullvad-daemon.service | 9 | ||||
| -rw-r--r-- | linux/uninstall_script.sh | 4 |
3 files changed, 17 insertions, 0 deletions
diff --git a/linux/install_script.sh b/linux/install_script.sh new file mode 100644 index 0000000000..c4c94eee52 --- /dev/null +++ b/linux/install_script.sh @@ -0,0 +1,4 @@ +#!/bin/bash +set -eux +systemctl enable mullvad-daemon.service +systemctl start mullvad-daemon.service diff --git a/linux/mullvad-daemon.service b/linux/mullvad-daemon.service new file mode 100644 index 0000000000..2fe6550f51 --- /dev/null +++ b/linux/mullvad-daemon.service @@ -0,0 +1,9 @@ +[Unit] +Description=Mullvad VPN daemon +Wants=network.target + +[Service] +ExecStart="/opt/Mullvad VPN/resources/mullvad-daemon" --disable-stdout-timestamps + +[Install] +WantedBy=multi-user.target diff --git a/linux/uninstall_script.sh b/linux/uninstall_script.sh new file mode 100644 index 0000000000..3d2194c8ac --- /dev/null +++ b/linux/uninstall_script.sh @@ -0,0 +1,4 @@ +#!/bin/bash +set -eux +systemctl stop mullvad-daemon.service +systemctl disable mullvad-daemon.service |
