Service: Restart on failure
This commit is contained in:
parent
ca2b2c45a4
commit
37a6ba07e8
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ ExecStart=/srv/hrochobot/bin/hrochobot
|
|||
Environment=HROCHOBOT_DATA=/data/hrochobot
|
||||
Environment=HROCHOBOT_ETC=/data/hrochobot
|
||||
Environment=HROCHOBOT_LOG=/data/log
|
||||
Restart=on-failure
|
||||
RestartSec=5min
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue