X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fmirror-health.service.erb;h=60d9dcd72b3c9d46208051b0db75b56cfc4db2c2;hb=1025496ebccd1d943ad0dddf58d4bee574be1464;hp=918722fd39b1973402a84340cf6f8c40a271311f;hpb=dd4cdc49e342f3525406d80480b56d7e4424d079;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/mirror-health.service.erb b/modules/roles/templates/mirror-health.service.erb index 918722fd3..60d9dcd72 100644 --- a/modules/roles/templates/mirror-health.service.erb +++ b/modules/roles/templates/mirror-health.service.erb @@ -14,9 +14,11 @@ ProtectHome=read-only PrivateTmp=true User=nobody Group=nogroup +Restart=always Environment="MIRROR_CHECK_SERVICE=<%= @check_service %>" Environment="MIRROR_CHECK_URL=<%= @url %>" +Environment="MIRROR_CHECK_HEALTH_URL=<%= @health_url %>" Environment="MIRROR_CHECK_HOSTS=<%= @check_hosts.join ' ' %>" Environment="MIRROR_CHECK_INTERVAL=<%= @check_interval %>"