X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b3a77d0d43c88fb8c8989319f7d436477aee07eb..cd339413a12e7f5795beb67ee780850b85748e4b:/cookbooks/systemd/templates/default/service.erb diff --git a/cookbooks/systemd/templates/default/service.erb b/cookbooks/systemd/templates/default/service.erb index ffc0efb72..f7f851ae5 100644 --- a/cookbooks/systemd/templates/default/service.erb +++ b/cookbooks/systemd/templates/default/service.erb @@ -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 -%>