[TASK] init systemd restart after 5 seconds

This commit is contained in:
Martin Geno 2017-05-22 12:12:13 +02:00
parent d20277a4c4
commit dc24c8b250
No known key found for this signature in database
GPG Key ID: F0D39A37E925E941

View File

@ -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]