diff options
author | Zero | 2022-11-16 21:50:03 -0500 |
---|---|---|
committer | Zero | 2022-11-16 21:50:03 -0500 |
commit | 22523b0fb89727bde73c9174fd16e4826cb6d41c (patch) | |
tree | fb45d40ceed55bef3c5f75dd3334a54e2aafa4be /mullvad-daemon.rc | |
download | aur-22523b0fb89727bde73c9174fd16e4826cb6d41c.tar.gz |
Initial version
Diffstat (limited to 'mullvad-daemon.rc')
-rwxr-xr-x | mullvad-daemon.rc | 16 |
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 |