diff --git a/cobuild/010-service.d/hrochobot.service b/cobuild/010-service.d/hrochobot.service index 1bc6f40..dd7c362 100644 --- a/cobuild/010-service.d/hrochobot.service +++ b/cobuild/010-service.d/hrochobot.service @@ -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