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.

19 lines
378 B

  1. [Unit]
  2. Description=etcd-proxy
  3. After=network.target
  4. [Service]
  5. Type=notify
  6. User=etcd
  7. PermissionsStartOnly=true
  8. EnvironmentFile=/etc/etcd-proxy.env
  9. ExecStart={{ bin_dir }}/etcd
  10. ExecStartPre=/bin/mkdir -p /var/lib/etcd-proxy
  11. ExecStartPre=/bin/chown -R etcd: /var/lib/etcd-proxy
  12. NotifyAccess=all
  13. Restart=always
  14. RestartSec=10s
  15. LimitNOFILE=40000
  16. [Install]
  17. WantedBy=multi-user.target