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