From 0e648347f958e64963f111c2ac1bbcb2cd34f7fa Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Wed, 29 Mar 2017 23:22:49 +0400 Subject: [PATCH] fix etcd restart --- roles/etcd/templates/etcd-docker.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/etcd/templates/etcd-docker.service.j2 b/roles/etcd/templates/etcd-docker.service.j2 index c5cae99cf..18deee1d9 100644 --- a/roles/etcd/templates/etcd-docker.service.j2 +++ b/roles/etcd/templates/etcd-docker.service.j2 @@ -9,10 +9,10 @@ PermissionsStartOnly=true EnvironmentFile=/etc/etcd.env ExecStart={{ bin_dir }}/etcd ExecStartPre=-{{ docker_bin_dir }}/docker rm -f {{ etcd_member_name | default("etcd") }} -ExecReload={{ docker_bin_dir }}/docker restart {{ etcd_member_name | default("etcd") }} ExecStop={{ docker_bin_dir }}/docker stop {{ etcd_member_name | default("etcd") }} Restart=always RestartSec=15s +TimeoutStartSec=30s [Install] WantedBy=multi-user.target