2eab3db0dc
* update versions of all products and add consul-template * update client and server user_data scripts * modify README.md and terraform.tfvars * fix typo in consul-template system unit file * update AMI id
16 lines
337 B
Desktop File
16 lines
337 B
Desktop File
[Unit]
|
|
Description=Consul Template Agent
|
|
Requires=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
ExecStart=/usr/local/bin/consul-template -config="/etc/consul-template.d/consul-template.hcl"
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillSignal=SIGTERM
|
|
User=root
|
|
Group=root
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|