Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monit: fix location for config file. #52051

Closed
wants to merge 1 commit into from
Closed

monit: fix location for config file. #52051

wants to merge 1 commit into from

Conversation

@huxuan
Copy link
Contributor

huxuan commented Mar 23, 2020

In this way, monit can find a valid control file and run smoothly right after
installation. Otherwise, a new one must be created explicitly from scratch.

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

In this way, monit can find a valid control file and run smoothly right after
installation. Otherwise, a new one must be created explicitly from scratch.
@huxuan

This comment has been minimized.

Copy link
Contributor Author

huxuan commented Mar 23, 2020

Currently, running monit after installation will complain

$ monit
Cannot find the Monit control file at ~/.monitrc, /etc/monitrc, /usr/local/etc/monit/monitrc, /usr/local/etc/monitrc or at ./monitrc

This pull request aims to fix that problem.

Copy link
Member

chenrui333 left a comment

👍

@chenrui333

This comment has been minimized.

Copy link
Member

chenrui333 commented Mar 25, 2020

Thanks @huxuan!!

@huxuan huxuan deleted the huxuan:monit branch Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.