X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/44961f1f6b5a7cd573ebf463ed66f12b5dba226b..1b4c23bbb92abb8f52af71dd14672489488d73c3:/cookbooks/systemd/templates/default/service.erb?ds=sidebyside 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=