It is best practice not to show output of various commands executed in
i.e post steps of an RPM file. With this commit we ensure output from
the mon log commands are hidden. Sometimes this would generate quite a
large output cluttering the update log significantly.
Fixes: MON-12848
Previously the first thing we did in the post install step, was to stop
the service. However at this point we installed a new systemd service
file on the system, causing systemctl to warn about the updated file. To
ensure we don't get this warning, we move the daemon-reload call up to
before we stop the service
It is best practice not to show output of various commands executed in i.e post steps of an RPM file. With this commit we ensure output from the
mon log
commands are hidden. Sometimes this would generate quite a large output cluttering the update log significantly.Fixes: MON-12848
Previously the first thing we did in the post install step, was to stop the service. However at this point we installed a new systemd service file on the system, causing systemctl to warn about the updated file. To ensure we don't get this warning, we move the
daemon-reload
call up to before we stop the service