Skip to content
Snippets Groups Projects
Commit a2540e33 authored by Smaine Kahlouch's avatar Smaine Kahlouch Committed by GitHub
Browse files

Merge pull request #362 from bogdando/fix_service_unit

Fix systemd service unit for etcd
parents 192136df 0b874e8d
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.
Please register or to comment