]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/systemd/templates/default/service.erb
Update imagery cookbook for Ubuntu 16.04
[chef.git] / cookbooks / systemd / templates / default / service.erb
index 13983b02b69c9dc35b660ce853b8a8e974f68bf0..ffac55396eee18f8d669a76a27756b706e30646c 100644 (file)
@@ -1,3 +1,5 @@
+# DO NOT EDIT - This file is being maintained by Chef
+
 [Unit]
 Description=<%= @description %>
 <% if @after -%>
@@ -15,6 +17,12 @@ Environment="<%= name %>=<%= value %>"
 <% if @environment_file -%>
 EnvironmentFile=<%= @environment_file %>
 <% end -%>
+<% if @user -%>
+User=<%= @user %>
+<% end -%>
+<% if @group -%>
+Group=<%= @group %>
+<% end -%>
 <% if @exec_start_pre -%>
 ExecStartPre=<%= @exec_start_pre %>
 <% end -%>