1 # DO NOT EDIT - This file is being maintained by Chef
4 Description=<%= @description %>
6 After=<%= Array(@after).join(" ") %>
9 Wants=<%= Array(@wants).join(" ") %>
13 <% Array(@listen_stream).each do |listen| -%>
14 ListenStream=<%= listen %>
16 <% Array(@listen_datagram).each do |listen| -%>
17 ListenDatagram=<%= listen %>
19 <% Array(@listen_sequential_packet).each do |listen| -%>
20 ListenSequentialPacket=<%= listen %>
22 <% Array(@listen_fifo).each do |listen| -%>
23 ListenFIFO=<%= listen %>
25 <% Array(@listen_special).each do |listen| -%>
26 ListenSpecial=<%= listen %>
28 <% Array(@listen_netlink).each do |listen| -%>
29 ListenNetlink=<%= listen %>
31 <% Array(@listen_message_queue).each do |listen| -%>
32 ListenMessageQueue=<%= listen %>
34 <% Array(@listen_usb_function).each do |listen| -%>
35 ListenUSBFunction=<%= listen %>
37 <% if @socket_protocol -%>
38 SocketProtocol=<%= @socket_protocol %>
40 <% if @bind_ipv6_only -%>
41 BindIpv6Only=<%= @bind_ipv6_only %>
44 Backlog=<%= @backlog %>
46 <% if @bind_to_device -%>
47 BindToDevice=<%= @bind_to_device %>
49 <% if @socket_user -%>
50 SocketUser=<%= @socket_user %>
52 <% if @socket_group -%>
53 SocketGroup=<%= @socket_group %>
55 <% if @socket_mode -%>
56 SocketMode=<%= sprintf("0%o", @socket_mode) %>
58 <% if @directory_mode -%>
59 DirectoryMode=<%= sprintf("0%o", @directory_mode) %>
65 Writable=<%= @writable %>
67 <% if @max_connections -%>
68 MaxConnections=<%= @max_connections %>
70 <% if @max_connections_per_source -%>
71 MaxConnectionsPerSource=<%= @max_connections_per_source %>
74 KeepAlive=<%= @keep_alive %>
76 <% if @keep_alive_time_sec -%>
77 KeepAliveTimeSec=<%= @keep_alive_time_sec %>
79 <% if @keep_alive_interval_sec -%>
80 KeepAliveIntervalSec=<%= @keep_alive_interval_sec %>
82 <% if @keep_alive_probes -%>
83 KeepAliveProbes=<%= @keep_alive_probes %>
86 NoDelay=<%= @no_delay %>
89 Priority=<%= @priority %>
91 <% if @defer_accept_sec -%>
92 DeferAcceptSec=<%= @defer_accept_sec %>
94 <% if @receive_buffer -%>
95 ReceiveBuffer=<%= @receive_buffer %>
97 <% if @send_buffer -%>
98 SendBuffer=<%= @send_buffer %>
109 <% if @reuse_port -%>
110 ReusePort=<%= @reuse_port %>
113 PipeSize=<%= @pipe_size %>
115 <% if @message_queue_max_messages -%>
116 MessageQueueMaxMessages=<%= @message_queue_max_messages %>
118 <% if @message_queue_message_size -%>
119 MessageQueueMessageSize=<%= @message_queue_message_size %>
122 FreeBind=<%= @free_bind %>
124 <% if @transparent -%>
125 Transparent=<%= @transparent %>
128 Broadcast=<%= @broadcast %>
130 <% if @pass_credentials -%>
131 PassCredentials=<%= @pass_credentials %>
133 <% if @pass_security -%>
134 PassSecurity=<%= @pass_security %>
136 <% if @tcp_congestion -%>
137 TcpCongestion=<%= @tcp_congestion %>
139 <% Array(@exec_start_pre).each do |exec| -%>
140 ExecStartPre=<%= exec %>
142 <% Array(@exec_start).each do |exec| -%>
143 ExecStart=<%= exec %>
145 <% Array(@exec_stop_post).each do |exec| -%>
146 ExecStopPost=<%= exec %>
148 <% Array(@exec_stop).each do |exec| -%>
151 <% if @timeout_sec -%>
152 TimeoutSec=<%= @timeout_sec %>
155 Service=<%= @service %>
157 <% if @remove_on_stop -%>
158 RemoveOnStop=<%= @remove_on_stop %>
160 <% Array(@symlinks).each do |symlink| -%>
161 Symlinks=<%= symlink %>
163 <% if @file_descriptor_name -%>
164 FileDescriptorName=<%= @file_descriptor_name %>
166 <% if @trigger_limit_interval_sec -%>
167 TriggerLimitIntervalSec=<%= @trigger_limit_interval_sec %>
169 <% if @trigger_limit_burst -%>
170 TriggerLimitBurst=<%= @trigger_limit_burst %>
174 WantedBy=multi-user.target