Browse Source

Service: Restart on failure

master
Daniel Skýpala 8 months ago
parent
commit
37a6ba07e8
  1. 2
      cobuild/010-service.d/hrochobot.service

2
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

Loading…
Cancel
Save