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 LimitAS=<%= @limit_as %>
21 LimitCPU=<%= @limit_cpu %>
24 MemoryLow=<%= @memory_low %>
26 <% if @memory_high -%>
27 MemoryHigh=<%= @memory_high %>
30 MemoryMax=<%= @memory_max %>
32 <% @environment.each do |name,value| -%>
33 Environment="<%= name %>=<%= value %>"
35 <% if @environment_file -%>
36 EnvironmentFile=<%= @environment_file %>
44 <% if @working_directory -%>
45 WorkingDirectory=<%= @working_directory %>
47 <% if @exec_start_pre -%>
48 ExecStartPre=<%= @exec_start_pre %>
50 ExecStart=<%= @exec_start %>
51 <% if @exec_start_post -%>
52 ExecStartPost=<%= @exec_start_post %>
55 ExecStop=<%= @exec_stop %>
57 <% if @exec_reload -%>
58 ExecReload=<%= @exec_reload %>
60 <% if @runtime_directory -%>
61 RuntimeDirectory=<%= @runtime_directory %>
63 <% if @runtime_directory_mode -%>
64 RuntimeDirectoryMode=<%= sprintf("0%o", @runtime_directory_mode) %>
66 <% if @standard_input -%>
67 StandardInput=<%= @standard_input %>
69 <% if @standard_output -%>
70 StandardOutput=<%= @standard_output %>
72 <% if @standard_error -%>
73 StandardError=<%= @standard_error %>
75 <% if @private_tmp -%>
76 PrivateTmp=<%= @private_tmp %>
78 <% if @private_devices -%>
79 PrivateDevices=<%= @private_devices %>
81 <% if @private_network -%>
82 PrivateNetwork=<%= @private_network %>
84 <% if @protect_system -%>
85 ProtectSystem=<%= @protect_system %>
87 <% if @protect_home -%>
88 ProtectHome=<%= @protect_home %>
90 <% if @no_new_privileges -%>
91 NoNewPrivileges=<%= @no_new_privileges %>
93 <% if @success_exit_status -%>
94 SuccessExitStatus=<%= Array(@success_exit_status).join(" ") %>
97 Restart=<%= @restart %>
99 <% if @timeout_sec -%>
100 TimeoutSec=<%= @timeout_sec %>
103 PIDFile=<%= @pid_file %>
107 WantedBy=multi-user.target