formula-consul/consul/files/consul.service
George Robinson 347937ad46 Separate consul and consul-template states
Break up the consul formula into two states: consul and consul-template
such that it is possible to install consul without consul-template.

Update consul and consul-template to 0.6.4 and 0.14.0 respectively.

Consul template can now be configured with pillars.
2016-04-24 11:20:31 +01:00

15 lines
307 B
Desktop File

[Unit]
Description=consul
Wants=network.target
After=network.target
[Service]
Environment="GOMAXPROCS=2" "PATH=/usr/local/bin:/usr/bin:/bin"
ExecStart=/usr/local/bin/consul agent -config-dir=/etc/consul.d
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=TERM
User=consul
[Install]
WantedBy=multi-user.target