summaryrefslogtreecommitdiffstats
path: root/roles/etcd
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-04-11 13:22:57 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2016-04-12 14:32:24 -0400
commitad9aad99694fa9e0c6454483bc4921bf3acfa6a9 (patch)
treea67dc696a5f221c4d28e211e32ca3af7fe9e4a2d /roles/etcd
parent463737fd43a841b829d5c7824daf0d996e264a85 (diff)
downloadopenshift-ad9aad99694fa9e0c6454483bc4921bf3acfa6a9.tar.gz
openshift-ad9aad99694fa9e0c6454483bc4921bf3acfa6a9.tar.bz2
openshift-ad9aad99694fa9e0c6454483bc4921bf3acfa6a9.tar.xz
openshift-ad9aad99694fa9e0c6454483bc4921bf3acfa6a9.zip
use RestartSec to avoid default rate limit in systemd
Lifted from https://github.com/openshift/origin/pull/8317
Diffstat (limited to 'roles/etcd')
-rw-r--r--roles/etcd/templates/etcd.docker.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/etcd/templates/etcd.docker.service b/roles/etcd/templates/etcd.docker.service
index b8dbefa64..cf957ede8 100644
--- a/roles/etcd/templates/etcd.docker.service
+++ b/roles/etcd/templates/etcd.docker.service
@@ -11,6 +11,7 @@ ExecStart=/usr/bin/docker run --name {{ etcd_service }} --rm -v /var/lib/etcd:/v
ExecStop=/usr/bin/docker stop {{ etcd_service }}
SyslogIdentifier=etcd_container
Restart=always
+RestartSec=5s
[Install]
WantedBy=docker.service