Skip to content

Commit 0677006

Browse files
committed
Update README.md
1 parent 39a956f commit 0677006

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ Depending on the context where elastic-etcd is used, it can print out either etc
3939

4040
- `elastic-etcd -o dropin ...` prints
4141
```
42+
[Unit]
43+
After=elastic-etcd.service
44+
Requires=elastic-etcd.service
45+
4246
[Service]
4347
Environment="ETCD_NAME=server1"
4448
Environment="ETCD_INITIAL_CLUSTER_STATE=new"
@@ -61,7 +65,6 @@ Depending on the context where elastic-etcd is used, it can print out either etc
6165
content: |
6266
[Unit]
6367
Description=Elastic etcd
64-
Before=etcd2.service
6568
6669
[Service]
6770
Type=oneshot

0 commit comments

Comments
 (0)