You are not logged in.
Pages: 1
Greetings!
Mullvad's philosophy is spot on: both accessible and permissive in exactly the sense a privacy application should be.
Please find here simpler SysVinit script which either runs the binary, hangs up, or employs devuan's init-functions to query the status.
1 install Mullvad's .deb package
2 create this /etc/init.d/mullvad
#! /bin/sh
### BEGIN INIT INFO
# Provides: mullvad-daemon
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Start and stop mullvad-daemon
# Description: A simple init for Mullvad VPN
### END INIT INFO
. /lib/lsb/init-functions
name=${0##*/}
bin=/opt/Mullvad\ VPN/resources/mullvad-daemon
case "$1" in
start)
"$bin" &
;;
stop)
start-stop-daemon --stop --exec "$bin" --
;;
status)
status_of_proc "mullvad-daemon" "$name"
;;
*)
log_action_msg "Usage: $0 {start|stop|status}"
;;
esac
exit 0
3 update-rc.d mullvad defaults
The daemon will now run at startup. Configure wireguard or anything as a normal user with mullvad(1) client program.
All the best,
Pages: 1