Created attachment 326023 [details] Updates monitor.h to define MONITRC as "monit.conf" instead of "monitrc" Description of problem: The RPM package installs the config file (monitrc) into /etc/monit.conf. The monit binary looks for /etc/monitrc. When running monit to control the running instance one has to specify /etc/monit.conf explicitly. Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. Start monit 2. run monit status Actual results: Expected results: Additional info: Either let the file be called /etc/monitrc or patch the software on build (patch attached) so that it looks for monit.conf instead of monitrc
Thanks for the patch. I've submitted monit-4.10.1-8 for building which incorporates this patch as well as sets some more reasonable defaults (logging, daemon mode, includes /etc/monit.d) - let me know if the problem's fixed.
Confirmed working. Thank you.