Created
April 15, 2016 23:21
-
-
Save kelseyhightower/d9f476a422c39802e18f3dcceee71d52 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=etcd | |
Documentation=https://github.com/coreos/etcd | |
[Service] | |
ExecStart=/usr/bin/etcd \ | |
--advertise-client-urls http://127.0.0.1:2379 \ | |
--data-dir /var/lib/etcd \ | |
--listen-client-urls http://127.0.0.1:2379 \ | |
--listen-peer-urls http://127.0.0.1:2380 \ | |
--name etcd0 | |
Restart=on-failure | |
RestartSec=5 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment