23 lines
No EOL
714 B
Desktop File
23 lines
No EOL
714 B
Desktop File
[Unit]
|
|
Description=WireGuard via wg-netns for %I
|
|
After=network-online.target nss-lookup.target
|
|
Wants=network-online.target nss-lookup.target
|
|
PartOf=wg-quick.target
|
|
Documentation=man:wg-quick(8)
|
|
Documentation=man:wg(8)
|
|
Documentation=https://www.wireguard.com/
|
|
Documentation=https://www.wireguard.com/quickstart/
|
|
Documentation=https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8
|
|
Documentation=https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8
|
|
ConditionPathExists=/usr/local/bin/wg-netns
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/etc/wireguard
|
|
ExecStart=/usr/local/bin/wg-netns %i
|
|
Restart=always
|
|
RestartSec=10s
|
|
Environment=WG_ENDPOINT_RESOLUTION_RETRIES=infinity
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |