diff --git a/contrib/init/linux-systemd/yanic.service b/contrib/init/linux-systemd/yanic.service index f17a43d..82e44a5 100644 --- a/contrib/init/linux-systemd/yanic.service +++ b/contrib/init/linux-systemd/yanic.service @@ -6,6 +6,7 @@ Type=simple User=yanic ExecStart=/opt/go/bin/yanic -config /etc/yanic.conf Restart=always +RestartSec=5s Environment=PATH=/usr/bin:/usr/local/bin [Install]