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

Make monit auto-start on Debian Squeeze, as it does not do so by default when installed #15

Merged
merged 1 commit into from
Nov 20, 2015
Merged

Make monit auto-start on Debian Squeeze, as it does not do so by default when installed #15

merged 1 commit into from
Nov 20, 2015

Conversation

thatgraemeguy
Copy link
Contributor

Attempts to fix #14

@jonhattan
Copy link
Member

Hi @thatgraemeguy. It's better to use versioncmp($::lsbmajdistrelease, '6') == 0 (untested). There're examples of that in params.pp

@thatgraemeguy
Copy link
Contributor Author

@jonhattan thanks for that. I think I've updated it. My git-fu isn't as strong as it could be ;-)

@thatgraemeguy
Copy link
Contributor Author

Oh, I've kinda borked it properly..... trying to fix now.

@thatgraemeguy
Copy link
Contributor Author

OK, I managed to squash the messy commits..... I think. ;-)

@thatgraemeguy
Copy link
Contributor Author

OK, done properly now. No, for real this time! :-D

jonhattan added a commit that referenced this pull request Nov 20, 2015
Make monit auto-start on Debian Squeeze, as it does not do so by default when installed
@jonhattan jonhattan merged commit aef7900 into sbitio:master Nov 20, 2015
@jonhattan
Copy link
Member

Merged. Thanks.

Ideally this should be extended to support Wheezy and above where START=yes|no is used instead of startup=0|1. Difference is that default is START=yes. More PRs welcome!

@thatgraemeguy thatgraemeguy deleted the debian_6_startup_fix branch November 23, 2015 07:04
@thatgraemeguy
Copy link
Contributor Author

Thanks for merging. I'll look at implementing the suggested changes sometime soon.

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.

monit won't start on Debian Squeeze
2 participants