Skip to content

Instantly share code, notes, and snippets.

@Reflexe
Created August 23, 2019 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Reflexe/bf3c26072a781443810a6df56cd9594f to your computer and use it in GitHub Desktop.
Save Reflexe/bf3c26072a781443810a6df56cd9594f to your computer and use it in GitHub Desktop.
Protonvpn systemd unit
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