projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change redirections about policy manual to 302, since a change back to the multi...
[mirror/dsa-puppet.git]
/
modules
/
roles
/
templates
/
mirror-health.service.erb
diff --git
a/modules/roles/templates/mirror-health.service.erb
b/modules/roles/templates/mirror-health.service.erb
index
918722f
..
60d9dcd
100644
(file)
--- 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
PrivateTmp=true
User=nobody
Group=nogroup
+Restart=always
Environment="MIRROR_CHECK_SERVICE=<%= @check_service %>"
Environment="MIRROR_CHECK_URL=<%= @url %>"
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 %>"
Environment="MIRROR_CHECK_HOSTS=<%= @check_hosts.join ' ' %>"
Environment="MIRROR_CHECK_INTERVAL=<%= @check_interval %>"