We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e76d9 commit e5937dfCopy full SHA for e5937df
resources/etcd-member.service
@@ -35,11 +35,12 @@ Environment="ETCD_PEER_TRUSTED_CA_FILE=/etc/etcd/ssl/ca.pem"
35
Environment="ETCD_PEER_CERT_FILE=/etc/etcd/ssl/node.pem"
36
Environment="ETCD_PEER_KEY_FILE=/etc/etcd/ssl/node-key.pem"
37
38
-ExecStartPre=-/bin/sh -c "\
+ExecStartPre=-+/bin/sh -c "\
39
test ! -f /opt/bin/etcd && \
40
test -f /opt/bin/etcd.tar.gz && \
41
tar --strip-components=1 -C /opt/bin \
42
- -xzf /opt/bin/etcd.tar.gz etcd-${etcd_version}-linux-amd64/etcd"
+ -xzf /opt/bin/etcd.tar.gz etcd-${etcd_version}-linux-amd64/etcd && \
43
+ chown etcd:etcd /opt/bin/etcd"
44
45
ExecStart=/opt/bin/etcd
46
0 commit comments