Skip to content

Conversation

@bitgangsta
Copy link

Hi,

Two changes are in this pull. We had made this fork a while ago, so I'm happy to update / rebase if need be. However, I wanted to see if this would be friendly before I do.

a) We updated the config updates to cause a reload rather than restart, for performance reasons. This should be fine, and I would think is preferable, but let me know if you disagree.

b) Ubuntu's default shell isn't bash (see discussion on that commit). The best practice should be to use /usr/bin/env to find the bash location.

Any concerns/ comments?

@yourabi yourabi force-pushed the master branch 4 times, most recently from dadcde5 to fa5f017 Compare September 8, 2014 15:39
@yourabi
Copy link
Collaborator

yourabi commented Sep 10, 2014

It was probably /bin/sh out of habit and that /bin/sh is the system (posix compliant) shell...

Have you tested this out? Glancing at recipes/default.rb I wonder how monit would handle "reload" vs "start" on a node's firstboot?

In principal I think a version of this with reduced scope could be interested (reload vs restart on template render / config change)

@daanemanz
Copy link

Would it be possible to just have reload included as in https://github.com/apsoto/monit/pull/48/files#diff-55bf87238c9b8af164c5133a60721f12R15? That would probably be helpful by itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants