Created
August 23, 2019 14:39
-
-
Save Reflexe/bf3c26072a781443810a6df56cd9594f to your computer and use it in GitHub Desktop.
Protonvpn systemd unit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
After=network-online.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
Environment="SUDO_USER=<change to your user>" | |
ExecStart=/usr/local/bin/pvpn -f | |
ExecStop=/usr/local/bin/pvpn --disconnect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment