You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
251 B

9 years ago
  1. [Unit]
  2. Description=etcd2
  3. Conflicts=etcd.service
  4. [Service]
  5. User=etcd
  6. Environment=ETCD_DATA_DIR=/var/lib/etcd2
  7. Environment=ETCD_NAME=%m
  8. ExecStart={{ bin_dir }}/etcd2
  9. Restart=always
  10. RestartSec=10s
  11. LimitNOFILE=40000
  12. [Install]
  13. WantedBy=multi-user.target