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

16 lines
251 B
Plaintext
Raw Normal View History

2015-10-04 04:19:50 +08: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