cdn-ops/global/overlay/etc/puppet/modules/cdn/templates/cache/sunet-cdnp.service.erb

17 lines
536 B
Plaintext
Raw Normal View History

2024-11-12 09:10:27 +00:00
# This service file is generated by Puppet. Do not edit.
[Unit]
Description=SUNET CDN Purger
Wants=docker.service
After=docker.service
[Service]
Type=simple
ExecStart=/usr/local/bin/sunet-cdnp \
-mqtt-ca-file /usr/local/share/ca-certificates/step_ca_root.crt \
-mqtt-client-key-file /etc/letsencrypt/live/<%= @networking['fqdn'] %>/privkey.pem \
-mqtt-client-cert-file /etc/letsencrypt/live/<%= @networking['fqdn'] %>/fullchain.pem \
-mqtt-server <%= @mqtt_url[@location][@environment] %>
[Install]
WantedBy=multi-user.target