From df1708152c6bff232badc9fa3b8ba415024912c7 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Sat, 1 Apr 2023 12:36:58 +0200 Subject: [PATCH] Update systemd-example --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ac10ca7..8111478 100644 --- a/README.md +++ b/README.md @@ -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