summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extras/systemd/glusterd.service.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/systemd/glusterd.service.in b/extras/systemd/glusterd.service.in
index 7c818221845..af10ea18c14 100644
--- a/extras/systemd/glusterd.service.in
+++ b/extras/systemd/glusterd.service.in
@@ -15,6 +15,11 @@ ExecStart=@prefix@/sbin/glusterd -p @localstatedir@/run/glusterd.pid --log-leve
KillMode=process
TimeoutSec=300
SuccessExitStatus=15
+Restart=on-abnormal
+RestartSec=60
+StartLimitBurst=3
+StartLimitIntervalSec=3600
+StartLimitInterval=3600
[Install]
WantedBy=multi-user.target