2015-11-06 17:45:01 +03:00
|
|
|
[Unit]
|
|
|
|
Description=etcd key-value store
|
|
|
|
Documentation=https://github.com/coreos/etcd
|
2016-09-09 00:11:01 +03:00
|
|
|
After=network.target
|
2015-11-06 17:45:01 +03:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=etcd
|
|
|
|
Type=notify
|
|
|
|
Environment=ETCD_DATA_DIR=/var/lib/etcd
|
|
|
|
Environment=ETCD_NAME=%m
|
|
|
|
ExecStart=/usr/bin/etcd
|
|
|
|
Restart=always
|
|
|
|
RestartSec=10s
|
|
|
|
LimitNOFILE=40000
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|