[TASK] init systemd restart after 5 seconds
This commit is contained in:
parent
d20277a4c4
commit
dc24c8b250
@ -6,6 +6,7 @@ Type=simple
|
|||||||
User=yanic
|
User=yanic
|
||||||
ExecStart=/opt/go/bin/yanic -config /etc/yanic.conf
|
ExecStart=/opt/go/bin/yanic -config /etc/yanic.conf
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=5s
|
||||||
Environment=PATH=/usr/bin:/usr/local/bin
|
Environment=PATH=/usr/bin:/usr/local/bin
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user