1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
[Unit] Description=etcd key-value store Documentation=https://github.com/coreos/etcd [Service] User=etcd Type=notify Environment=ETCD_DATA_DIR=/var/lib/etcd Environment=ETCD_NAME=%m EnvironmentFile=-/etc/conf.d/etcd ExecStart=/usr/bin/etcd Restart=always RestartSec=10s LimitNOFILE=40000 [Install] WantedBy=multi-user.target