Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion templates/agent/check_mk.service-drop-in.epp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
| -%>
# THIS FILE IS MANAGED BY PUPPET
[Service]
# Reset command list.
# See https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStart=
# "If the empty string is assigned to this option, the list of commands to start is reset, prior assignments of this option will have no effect".
ExecStart=
ExecStart=<%= $server %>
# "-" path prefix makes systemd record the exit code,
# but the unit is not set to failed.
ExecStart=-<%= $server %>
User=<%= $user %>
Group=<%= $group %>