cdist/cdist/conf/type/__consul_template/files/consul-template.systemd
Steven Armstrong 2c7ab566e1 add new types to manage consul and friends
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2015-02-24 13:10:17 +01:00

19 lines
411 B
Text

[Unit]
Description=Consul-Template Daemon
Wants=basic.target
After=basic.target network.target
[Service]
User=root
Group=root
Environment="CONSUL_TEMPLATE_LOG=info"
Environment="GOMAXPROCS=2"
ExecStart=/usr/local/bin/consul-template -config /etc/consul-template/conf.d
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
RestartSec=10s
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target