From 6a9ca076707b21ce76d101ee6ca8b0b84fb45d5f Mon Sep 17 00:00:00 2001 From: John Gress Date: Fri, 16 Sep 2016 10:39:39 -0600 Subject: [PATCH] Small improvement to the systemd unit file. --- systemd/kibana.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systemd/kibana.service b/systemd/kibana.service index b49ab6fd37a39..ab9fff88c9c85 100644 --- a/systemd/kibana.service +++ b/systemd/kibana.service @@ -37,7 +37,10 @@ ExecStart=/usr/local/kibana-4.1.10-linux-x64/node/bin/node /usr/local/kibana-4.1 ExecStartPost=/usr/bin/python /usr/local/kibana-4.1.10-linux-x64/scripts/setDefaultIndex.py ExecStartPost=/usr/bin/python /usr/local/kibana-4.1.10-linux-x64/scripts/loadAssets.py +TimeoutStopSec=30 + Restart=on-failure +RestartSec=10 [Install] WantedBy=elasticsearch.service