mirror of
https://github.com/Fishwaldo/LEDMessageBoard.git
synced 2025-03-15 19:31:32 +00:00
restart after failure
This commit is contained in:
parent
2408dbbbc6
commit
6d841437dc
2 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ Type=simple
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
ExecStart=/usr/bin/LMBd --config /etc/LMBd.conf
|
ExecStart=/usr/bin/LMBd --config /etc/LMBd.conf
|
||||||
|
Restart=always
|
||||||
|
|
||||||
# Give the script some time to startup
|
# Give the script some time to startup
|
||||||
TimeoutSec=300
|
TimeoutSec=300
|
||||||
|
|
|
@ -9,6 +9,7 @@ Type=simple
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
ExecStart=/usr/bin/python /usr/bin/zabbix_stats.py -c /etc/zabbix_stats.cfg
|
ExecStart=/usr/bin/python /usr/bin/zabbix_stats.py -c /etc/zabbix_stats.cfg
|
||||||
|
Restart=always
|
||||||
|
|
||||||
# Give the script some time to startup
|
# Give the script some time to startup
|
||||||
TimeoutSec=300
|
TimeoutSec=300
|
||||||
|
|
Loading…
Add table
Reference in a new issue