X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/db938e2958cad06c64ed41a52daf2b50994fe302..2a650836a9193a6cf0d4ef6eec650925fd5acebe:/cookbooks/systemd/templates/default/service.erb diff --git a/cookbooks/systemd/templates/default/service.erb b/cookbooks/systemd/templates/default/service.erb index 29bd10e33..b979703dd 100644 --- a/cookbooks/systemd/templates/default/service.erb +++ b/cookbooks/systemd/templates/default/service.erb @@ -69,6 +69,9 @@ DynamicUser=<%= @dynamic_user %> <% if @working_directory -%> WorkingDirectory=<%= @working_directory %> <% end -%> +<% if @umask -%> +UMask=<%= @umask %> +<% end -%> <% if @exec_start_pre -%> <% if @dropin -%> ExecStartPre=