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 %>
 
  17 <% @environment.each do |name,value| -%>
 
  18 Environment="<%= name %>=<%= value %>"
 
  20 <% if @environment_file -%>
 
  21 EnvironmentFile=<%= @environment_file %>
 
  29 <% if @exec_start_pre -%>
 
  30 ExecStartPre=<%= @exec_start_pre %>
 
  32 ExecStart=<%= @exec_start %>
 
  33 <% if @exec_start_post -%>
 
  34 ExecStartPost=<%= @exec_start_post %>
 
  37 ExecStop=<%= @exec_stop %>
 
  39 <% if @exec_reload -%>
 
  40 ExecReload=<%= @exec_reload %>
 
  42 <% if @runtime_directory -%>
 
  43 RuntimeDirectory=<%= @runtime_directory %>
 
  45 <% if @runtime_directory_mode -%>
 
  46 RuntimeDirectoryMode=<%= sprintf("0%o", @runtime_directory_mode) %>
 
  48 <% if @standard_input -%>
 
  49 StandardInput=<%= @standard_input %>
 
  51 <% if @standard_output -%>
 
  52 StandardOutput=<%= @standard_output %>
 
  54 <% if @standard_error -%>
 
  55 StandardError=<%= @standard_error %>
 
  57 <% if @private_tmp -%>
 
  58 PrivateTmp=<%= @private_tmp %>
 
  60 <% if @private_devices -%>
 
  61 PrivateDevices=<%= @private_devices %>
 
  63 <% if @private_network -%>
 
  64 PrivateNetwork=<%= @private_network %>
 
  66 <% if @protect_system -%>
 
  67 ProtectSystem=<%= @protect_system %>
 
  69 <% if @protect_home -%>
 
  70 ProtectHome=<%= @protect_home %>
 
  73 Restart=<%= @restart %>
 
  75 <% if @timeout_sec -%>
 
  76 TimeoutSec=<%= @timeout_sec %>
 
  79 PIDFile=<%= @pid_file %>
 
  83 WantedBy=multi-user.target