1 # DO NOT EDIT - This file is being maintained by Chef
 
   4 Description=<%= @description %>
 
   6 After=<%= Array(@after).join(" ") %>
 
   9 Wants=<%= Array(@wants).join(" ") %>
 
  14 <% if @limit_nofile -%>
 
  15 LimitNOFILE=<%= @limit_nofile %>
 
  18 MemoryLow=<%= @memory_low %>
 
  20 <% if @memory_high -%>
 
  21 MemoryHigh=<%= @memory_high %>
 
  24 MemoryMax=<%= @memory_max %>
 
  26 <% @environment.each do |name,value| -%>
 
  27 Environment="<%= name %>=<%= value %>"
 
  29 <% if @environment_file -%>
 
  30 EnvironmentFile=<%= @environment_file %>
 
  38 <% if @working_directory -%>
 
  39 WorkingDirectory=<%= @working_directory %>
 
  41 <% if @exec_start_pre -%>
 
  42 ExecStartPre=<%= @exec_start_pre %>
 
  44 ExecStart=<%= @exec_start %>
 
  45 <% if @exec_start_post -%>
 
  46 ExecStartPost=<%= @exec_start_post %>
 
  49 ExecStop=<%= @exec_stop %>
 
  51 <% if @exec_reload -%>
 
  52 ExecReload=<%= @exec_reload %>
 
  54 <% if @runtime_directory -%>
 
  55 RuntimeDirectory=<%= @runtime_directory %>
 
  57 <% if @runtime_directory_mode -%>
 
  58 RuntimeDirectoryMode=<%= sprintf("0%o", @runtime_directory_mode) %>
 
  60 <% if @standard_input -%>
 
  61 StandardInput=<%= @standard_input %>
 
  63 <% if @standard_output -%>
 
  64 StandardOutput=<%= @standard_output %>
 
  66 <% if @standard_error -%>
 
  67 StandardError=<%= @standard_error %>
 
  69 <% if @private_tmp -%>
 
  70 PrivateTmp=<%= @private_tmp %>
 
  72 <% if @private_devices -%>
 
  73 PrivateDevices=<%= @private_devices %>
 
  75 <% if @private_network -%>
 
  76 PrivateNetwork=<%= @private_network %>
 
  78 <% if @protect_system -%>
 
  79 ProtectSystem=<%= @protect_system %>
 
  81 <% if @protect_home -%>
 
  82 ProtectHome=<%= @protect_home %>
 
  84 <% if @no_new_privileges -%>
 
  85 NoNewPrivileges=<%= @no_new_privileges %>
 
  87 <% if @success_exit_status -%>
 
  88 SuccessExitStatus=<%= Array(@success_exit_status).join(" ") %>
 
  91 Restart=<%= @restart %>
 
  93 <% if @timeout_sec -%>
 
  94 TimeoutSec=<%= @timeout_sec %>
 
  97 PIDFile=<%= @pid_file %>
 
 101 WantedBy=multi-user.target