itamae/cookbooks/consul-template/files/etc/systemd/system/consul-template.service

14 lines
328 B
SYSTEMD
Raw Normal View History

2021-05-01 09:13:25 +00:00
[Unit]
Description=consul-template
Requires=network-online.target
After=network-online.target consul.service
[Service]
EnvironmentFile=-/etc/default/consul-template
Restart=on-failure
ExecStart=/usr/local/bin/consul-template $OPTIONS -config=/etc/consul-template.d/conf/
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target