This repository has been archived on 2024-07-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
etckeeper/systemd/system/check-mk-agent@.service
T
2021-10-27 14:28:05 +02:00

17 lines
415 B
Desktop File

# systemd service definition file
[Unit]
Description=Checkmk agent
[Service]
# "-" path prefix makes systemd record the exit code,
# but the unit is not set to failed.
ExecStart=-/usr/bin/check_mk_agent
# this can fail if agent updater is being run by the async service at the same time
ExecStopPost=-/usr/bin/cmk-install-agent
Environment='MK_RUN_ASYNC_PARTS=false'
Type=oneshot
User=root
StandardInput=socket