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

Upstart configuration should use 'expect stop' for compatibility with Collectd v5.5+ #10

Open
alowde-catapult opened this issue Feb 3, 2017 · 0 comments

Comments

@alowde-catapult
Copy link

alowde-catapult commented Feb 3, 2017

Collectd version >= 5.5 automatically recognises that it's supervised by Upstart based on the UPSTART_JOB environment variable, and attempts to signal Upstart by raising SIGSTOP instead of forking.

Unfortunately this means that if Upstart is configured with 'expect fork' as per 9481210 then when the service is started Upstart will hang indefinitely.

Using 'expect stop' instead will allow Upstart to recognise that Collectd has started and, as a bonus, when it has finished initialising.

@alowde-catapult alowde-catapult changed the title Upstart configuration should include 'expect stop' instead of 'expect fork' Upstart configuration should use 'expect stop' for compatibility with Collectd v5.5+ Feb 3, 2017
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

No branches or pull requests

1 participant