Skip to content
Snippets Groups Projects
Commit 0b874e8d authored by Bogdan Dobrelya's avatar Bogdan Dobrelya
Browse files

Fix systemd service unit for etcd

parent 192136df
No related branches found
No related tags found
No related merge requests found
[Unit]
Description=etcd
After=network.target
[Service]
Type=notify
User=etcd
EnvironmentFile=/etc/etcd.env
{% if inventory_hostname in groups['etcd'] %}
......@@ -10,6 +11,7 @@ ExecStart={{ bin_dir }}/etcd
{% else %}
ExecStart={{ bin_dir }}/etcd -proxy on
{% endif %}
NotifyAccess=all
Restart=always
RestartSec=10s
LimitNOFILE=40000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment