/usr/share/puppet/modules.available/sbitio-monit/templates/check/process.erb is in puppet-module-sbitio-monit 1.0.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <%- if @pidfile -%>
CHECK PROCESS <%= @name %> WITH PIDFILE <%= @pidfile %>
<%- else -%>
CHECK PROCESS <%= @name %> MATCHING <%= @matching %>
<%- end -%>
START PROGRAM = "<%= @program_start %>"
<%- if @uid -%>
AS UID <%= @uid %>
<%- end -%>
<%- if @gid -%>
AS GID <%= @gid %>
<%- end -%>
<%- if @real_timeout_start -%>
WITH timeout <%= @real_timeout_start %> SECONDS
<%- end -%>
STOP PROGRAM = "<%= @program_stop %>"
<%- if @uid -%>
AS UID <%= @uid %>
<%- end -%>
<%- if @gid -%>
AS GID <%= @gid %>
<%- end -%>
<%- if @real_timeout_stop -%>
WITH timeout <%= @real_timeout_stop %> SECONDS
<%- end -%>
|