mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 23:11:07 +02:00
Merge pull request #1576 from mischief/etcd-sd-notify
dev-db/etcd: notify systemd when etcd2 is ready
This commit is contained in:
commit
8cbb4f909b
@ -4,6 +4,7 @@ Conflicts=etcd.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=etcd
|
User=etcd
|
||||||
|
Type=notify
|
||||||
Environment=ETCD_DATA_DIR=/var/lib/etcd2
|
Environment=ETCD_DATA_DIR=/var/lib/etcd2
|
||||||
Environment=ETCD_NAME=%m
|
Environment=ETCD_NAME=%m
|
||||||
ExecStart=/usr/bin/etcd2
|
ExecStart=/usr/bin/etcd2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user