1 # DO NOT EDIT - This file is being maintained by Chef
5 Description=<%= @description %>
8 After=<%= Array(@after).join(" ") %>
11 Wants=<%= Array(@wants).join(" ") %>
18 <% if @limit_nofile -%>
19 LimitNOFILE=<%= @limit_nofile %>
22 LimitAS=<%= @limit_as %>
25 LimitCPU=<%= @limit_cpu %>
28 MemoryLow=<%= @memory_low %>
30 <% if @memory_high -%>
31 MemoryHigh=<%= @memory_high %>
34 MemoryMax=<%= @memory_max %>
36 <% @environment.each do |name,value| -%>
37 Environment="<%= name %>=<%= value %>"
39 <% if @environment_file -%>
40 EnvironmentFile=<%= @environment_file %>
48 <% if @working_directory -%>
49 WorkingDirectory=<%= @working_directory %>
51 <% if @exec_start_pre -%>
55 ExecStartPre=<%= @exec_start_pre %>
61 ExecStart=<%= @exec_start %>
63 <% if @exec_start_post -%>
67 ExecStartPost=<%= @exec_start_post %>
73 ExecStop=<%= @exec_stop %>
75 <% if @exec_reload -%>
79 ExecReload=<%= @exec_reload %>
81 <% if @runtime_directory -%>
82 RuntimeDirectory=<%= @runtime_directory %>
84 <% if @runtime_directory_mode -%>
85 RuntimeDirectoryMode=<%= sprintf("0%o", @runtime_directory_mode) %>
87 <% if @standard_input -%>
88 StandardInput=<%= @standard_input %>
90 <% if @standard_output -%>
91 StandardOutput=<%= @standard_output %>
93 <% if @standard_error -%>
94 StandardError=<%= @standard_error %>
96 <% if @private_tmp -%>
97 PrivateTmp=<%= @private_tmp %>
99 <% if @private_devices -%>
100 PrivateDevices=<%= @private_devices %>
102 <% if @private_network -%>
103 PrivateNetwork=<%= @private_network %>
105 <% if @protect_system -%>
106 ProtectSystem=<%= @protect_system %>
108 <% if @protect_home -%>
109 ProtectHome=<%= @protect_home %>
111 <% if @restrict_address_families -%>
112 RestrictAddressFamilies=<%= Array(@restrict_address_families).join(" ") %>
114 <% if @no_new_privileges -%>
115 NoNewPrivileges=<%= @no_new_privileges %>
118 TasksMax=<%= @tasks_max %>
120 <% if @success_exit_status -%>
121 SuccessExitStatus=<%= Array(@success_exit_status).join(" ") %>
124 Restart=<%= @restart %>
126 <% if @timeout_sec -%>
127 TimeoutSec=<%= @timeout_sec %>
130 PIDFile=<%= @pid_file %>
135 <% if @io_scheduling_class -%>
136 IOSchedulingClass=<%= @io_scheduling_class %>
138 <% if @io_scheduling_priority -%>
139 IOSchedulingPriority=<%= @io_scheduling_priority %>
142 KillMode=<%= @kill_mode %>
144 <% unless @dropin -%>
147 WantedBy=multi-user.target