]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/systemd/templates/default/service.erb
Rework passenger munin plugins to work with current passenger versions
[chef.git] / cookbooks / systemd / templates / default / service.erb
index ffc0efb7203e5da5696596f6109abba04c355e86..f7f851ae54160b373cbc40f5d3506099c731bd7e 100644 (file)
@@ -75,6 +75,9 @@ ProtectHome=<%= @protect_home %>
 <% if @no_new_privileges -%>
 NoNewPrivileges=<%= @no_new_privileges %>
 <% end -%>
+<% if @success_exit_status -%>
+SuccessExitStatus=<%= Array(@success_exit_status).join(" ") %>
+<% end -%>
 <% if @restart -%>
 Restart=<%= @restart %>
 <% end -%>