c12s-kubespray/roles/etcd/templates/systemd-etcd2.service.j2

16 lines
251 B
Text
Raw Normal View History

2015-10-03 20:19:50 +00:00
[Unit]
Description=etcd2
Conflicts=etcd.service
[Service]
User=etcd
Environment=ETCD_DATA_DIR=/var/lib/etcd2
Environment=ETCD_NAME=%m
ExecStart={{ bin_dir }}/etcd2
Restart=always
RestartSec=10s
LimitNOFILE=40000
[Install]
WantedBy=multi-user.target