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 @working_directory -%>
30 WorkingDirectory=<%= @working_directory %>
32 <% if @exec_start_pre -%>
33 ExecStartPre=<%= @exec_start_pre %>
35 ExecStart=<%= @exec_start %>
36 <% if @exec_start_post -%>
37 ExecStartPost=<%= @exec_start_post %>
40 ExecStop=<%= @exec_stop %>
42 <% if @exec_reload -%>
43 ExecReload=<%= @exec_reload %>
45 <% if @runtime_directory -%>
46 RuntimeDirectory=<%= @runtime_directory %>
48 <% if @runtime_directory_mode -%>
49 RuntimeDirectoryMode=<%= sprintf("0%o", @runtime_directory_mode) %>
51 <% if @standard_input -%>
52 StandardInput=<%= @standard_input %>
54 <% if @standard_output -%>
55 StandardOutput=<%= @standard_output %>
57 <% if @standard_error -%>
58 StandardError=<%= @standard_error %>
60 <% if @private_tmp -%>
61 PrivateTmp=<%= @private_tmp %>
63 <% if @private_devices -%>
64 PrivateDevices=<%= @private_devices %>
66 <% if @private_network -%>
67 PrivateNetwork=<%= @private_network %>
69 <% if @protect_system -%>
70 ProtectSystem=<%= @protect_system %>
72 <% if @protect_home -%>
73 ProtectHome=<%= @protect_home %>
75 <% if @no_new_privileges -%>
76 NoNewPrivileges=<%= @no_new_privileges %>
79 Restart=<%= @restart %>
81 <% if @timeout_sec -%>
82 TimeoutSec=<%= @timeout_sec %>
85 PIDFile=<%= @pid_file %>
89 WantedBy=multi-user.target