Restart kojid and kojira services automatically
Wait 60sec before restarting the service
This commit is contained in:
parent
a90552afdb
commit
c21f102114
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ ExecStart=/usr/sbin/kojira \
|
|||
--fg \
|
||||
--force-lock \
|
||||
--verbose
|
||||
Restart=on-failure
|
||||
RestartSec=60s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue