Created
March 17, 2015 13:20
-
-
Save ianblenke/ee9bb6331ac1d47e97ad to your computer and use it in GitHub Desktop.
"systemctl cat etcd" on a CoreOS host
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
$ systemctl cat etcd | |
# /usr/lib64/systemd/system/etcd.service | |
[Unit] | |
Description=etcd | |
[Service] | |
User=etcd | |
PermissionsStartOnly=true | |
Environment=ETCD_DATA_DIR=/var/lib/etcd | |
Environment=ETCD_NAME=%m | |
ExecStart=/usr/bin/etcd | |
Restart=always | |
RestartSec=10s | |
# /run/systemd/system/etcd.service.d/10-oem.conf | |
[Service] | |
Environment=ETCD_PEER_ELECTION_TIMEOUT=1200 | |
# /run/systemd/system/etcd.service.d/20-cloudinit.conf | |
[Service] | |
Environment="ETCD_ADDR=10.0.0.42:4001" | |
Environment="ETCD_DISCOVERY=https://discovery.etcd.io/12345678123456781234567812345678" | |
Environment="ETCD_PEER_ADDR=10.0.0.99:7001" | |
Environment="ETCD_PEER_ELECTION_TIMEOUT=2000" | |
Environment="ETCD_PEER_HEARTBEAT_INTERVAL=500" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment