Update systemd-example
This commit is contained in:
parent
f06f9f03ff
commit
df1708152c
@ -71,16 +71,17 @@ Or using a systemd-service based on the example:
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=WireGuard IPv6 converter for netbird
|
Description=WireGuard IPv6 converter for netbird
|
||||||
BindsTo=netbird.service
|
BindsTo=netbird.service
|
||||||
|
After=netbird.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
ExecStartPre=/bin/sleep 10
|
||||||
ExecStart=/usr/local/bin/wg-ipv6-converter
|
ExecStart=/usr/local/bin/wg-ipv6-converter
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=30
|
||||||
StandardOutput=syslog
|
|
||||||
StandardError=syslog
|
|
||||||
|
|
||||||
Environment="INTERFACE=wt0"
|
Environment="INTERFACE=wt0"
|
||||||
|
Environment="RECHECK_INTERVAL=60"
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user