Restart kojid and kojira services automatically

Wait 60sec before restarting the service
This commit is contained in:
Vasil Velichkov 2021-09-21 14:57:13 +03:00 committed by Tomas Kopecek
parent a90552afdb
commit c21f102114
2 changed files with 4 additions and 0 deletions

View file

@ -10,6 +10,8 @@ ExecStart=/usr/sbin/kojid \
--force-lock \
--verbose
ExecReload=/bin/kill -USR1 $MAINPID
Restart=on-failure
RestartSec=60s
[Install]
WantedBy=multi-user.target

View file

@ -9,6 +9,8 @@ ExecStart=/usr/sbin/kojira \
--fg \
--force-lock \
--verbose
Restart=on-failure
RestartSec=60s
[Install]
WantedBy=multi-user.target