Update systemd-example

This commit is contained in:
Ruakij 2023-04-01 12:36:58 +02:00
parent f06f9f03ff
commit df1708152c

View File

@ -71,16 +71,17 @@ Or using a systemd-service based on the example:
[Unit]
Description=WireGuard IPv6 converter for netbird
BindsTo=netbird.service
After=netbird.service
[Service]
Type=simple
ExecStartPre=/bin/sleep 10
ExecStart=/usr/local/bin/wg-ipv6-converter
Restart=always
RestartSec=60
StandardOutput=syslog
StandardError=syslog
RestartSec=30
Environment="INTERFACE=wt0"
Environment="RECHECK_INTERVAL=60"
[Install]
WantedBy=multi-user.target