Created
September 19, 2018 17:52
-
-
Save sorz/81ae2db1cb1e7748565c7307537a9489 to your computer and use it in GitHub Desktop.
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
[Unit] | |
Description=Setup WireGuard link | |
After=network-online.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/usr/bin/wg-quick up %i | |
ExecStop=/usr/bin/wg-quick down %i | |
ProtectSystem=strict | |
ProtectHome=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment