17 lines
536 B
Plaintext
17 lines
536 B
Plaintext
|
# 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
|