From 6d841437dca3d974a27ab1a521576fb790f70d3f Mon Sep 17 00:00:00 2001 From: Justin Hammond Date: Mon, 2 Nov 2015 10:19:00 +0800 Subject: [PATCH] restart after failure --- scripts/lmbd.service | 1 + scripts/zabbix-stats.service | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/lmbd.service b/scripts/lmbd.service index aacbd16..4c96ef9 100644 --- a/scripts/lmbd.service +++ b/scripts/lmbd.service @@ -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 diff --git a/scripts/zabbix-stats.service b/scripts/zabbix-stats.service index bce999f..7efa008 100644 --- a/scripts/zabbix-stats.service +++ b/scripts/zabbix-stats.service @@ -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