fix etcd restart

pull/1153/head
Matthew Mosesohn 2017-03-29 23:22:49 +04:00
parent 48beef25fa
commit fb467df47c
1 changed files with 1 additions and 1 deletions

View File

@ -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