Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/sitescripts/templates/keep_alive_services.erb

Issue 29329307: Issue 3211 - Integrate customservice::supervisor with notification daemon (Closed)
Patch Set: Created Oct. 20, 2015, 10:49 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/sitescripts/templates/keep_alive_services.erb
diff --git a/modules/sitescripts/templates/keep_alive_services.erb b/modules/sitescripts/templates/keep_alive_services.erb
new file mode 100644
index 0000000000000000000000000000000000000000..a7960d64518b617e11652ee03dece66f979a4da7
--- /dev/null
+++ b/modules/sitescripts/templates/keep_alive_services.erb
@@ -0,0 +1,13 @@
+[keep_alive_services]
+# Via Puppet; see https://issues.adblockplus.org/ticket/3211
Wladimir Palant 2015/10/21 11:05:26 This comment makes little sense unless we only pla
mathias 2015/10/21 11:44:01 Acknowledged.
+<%- scope.function_hiera(
+ 'sitescripts::keep_alive_service_names', []
+ ).sort.each do |name| -%>
+<%= name %> = /var/run/<%= name %>.pid
Wladimir Palant 2015/10/21 11:05:27 Please specify a relative path here as well.
+<%- end -%>
+<%- scope.function_hiera(
+ 'sitescripts::keep_alive_service_pidfiles', {}
+ ).sort.each do |name, pidfile| -%>
+<%= name %> = <%= pidfile %>
+<%- end -%>
+

Powered by Google App Engine
This is Rietveld