restart after failure

This commit is contained in:
Justin Hammond 2015-11-02 10:19:00 +08:00
parent 2408dbbbc6
commit 6d841437dc
2 changed files with 2 additions and 0 deletions

View file

@ -8,6 +8,7 @@ Type=simple
User=root
Group=root
ExecStart=/usr/bin/LMBd --config /etc/LMBd.conf
Restart=always
# Give the script some time to startup
TimeoutSec=300

View file

@ -9,6 +9,7 @@ Type=simple
User=root
Group=root
ExecStart=/usr/bin/python /usr/bin/zabbix_stats.py -c /etc/zabbix_stats.cfg
Restart=always
# Give the script some time to startup
TimeoutSec=300