summaryrefslogtreecommitdiff
path: root/docs/vpn
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-01-08 17:00:35 +0100
committerKali Kaneko <kali@leap.se>2018-01-08 17:00:35 +0100
commitad55e80771ed0f1308a60c6acaabbc57b0a8f49d (patch)
treef60a6e79d8553e94e9f081460cd7d1d6169457dd /docs/vpn
parent67ef683b314f6f61a48ae2c576f9151f2787d653 (diff)
[docs] documentation about vpn autostart
Diffstat (limited to 'docs/vpn')
-rw-r--r--docs/vpn/index.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/vpn/index.rst b/docs/vpn/index.rst
index 0ec660fe..e5549895 100644
--- a/docs/vpn/index.rst
+++ b/docs/vpn/index.rst
@@ -37,3 +37,24 @@ You can list all the configured locations using the CLI::
demo.bitmask.net [US] Seattle, WA (UTC-7)
This manual override functionality will be exposed through the UI and the CLI in release ``0.11``.
+
+Autostart
+---------
+Autostart is not implemented yet in the 0.10 versions of Bitmask, but you can probably use
+a systemd script to launch vpn. If you have the latest master installed from a debian package::
+
+ [Unit]
+ Description=Bitmask VPN
+ Documentation=https://bitmask.net/en/help
+
+ [Service]
+ Type=oneshot
+ WorkingDirectory=/var/run/bitmask
+
+ ExecStart=bitmaskctl vpn start demo.bitmask.net
+ ExecStop=bitmaskctl vpn stop
+
+ RemainAfterExit=yes
+
+ [Install]
+ WantedBy=default.target