summarylogtreecommitdiffstats
path: root/mullvad-daemon.rc
diff options
context:
space:
mode:
authorZero2022-11-16 21:50:03 -0500
committerZero2022-11-16 21:50:03 -0500
commit22523b0fb89727bde73c9174fd16e4826cb6d41c (patch)
treefb45d40ceed55bef3c5f75dd3334a54e2aafa4be /mullvad-daemon.rc
downloadaur-22523b0fb89727bde73c9174fd16e4826cb6d41c.tar.gz
Initial version
Diffstat (limited to 'mullvad-daemon.rc')
-rwxr-xr-xmullvad-daemon.rc16
1 files changed, 16 insertions, 0 deletions
diff --git a/mullvad-daemon.rc b/mullvad-daemon.rc
new file mode 100755
index 000000000000..fde87f5a8f41
--- /dev/null
+++ b/mullvad-daemon.rc
@@ -0,0 +1,16 @@
+#!/sbin/openrc-run
+# OpenRC service unit file for the Mullvad VPN daemon
+
+depend() {
+ need net
+ after mullvad-early-boot-blocking
+}
+
+export "MULLVAD_RESOURCE_DIR=/opt/Mullvad VPN/resources/"
+name=$RC_SVCNAME
+description="Mullvad VPN daemon"
+supervisor="supervise-daemon"
+command="/usr/bin/mullvad-daemon"
+command_args="-v --disable-stdout-timestamps"
+pidfile="/run/${RC_SVCNAME}.pid"
+command_background=true