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

Which supervisor is recommended? #341

Open
Jimmy-Z opened this issue Dec 6, 2019 · 4 comments
Open

Which supervisor is recommended? #341

Jimmy-Z opened this issue Dec 6, 2019 · 4 comments
Labels

Comments

@Jimmy-Z
Copy link

Jimmy-Z commented Dec 6, 2019

I've tried to use s6 but failed, I'll open another issue for this.

supervise-daemon works for me, but I wonder what's the current status? I see no mentioning of "experimental" in supervise-daemon-guide.md but openrc-run man page still says so.

runit is not even mentioned in openrc-run man page.

@boardwalk
Copy link

I had the same question. So far I've found that:

  • start-stop-daemon supports output_logger and error_logger so you can easily gets things into syslog
  • supervise-daemon doesn't support that, but does obviously supervise your daemons and give nicer status via rc-status
  • s6 (which I have not tried yet) seems to require a different directory/setup (whereas with the two above you can just drop a single script into /etc/init.d), but would support logger processes like start-stop-daemon

There is most likely much more to this. I think ideally, for me, supervise-daemon would gain output_logger and error_logger support.

@agelwarg
Copy link

@boardwalk I'm running into the same issue -- wishing supervise-daemon supported output_logger / error_logger. Have you found out anything further?

@boardwalk
Copy link

@agelwarg I landed on using supervise-daemon with output_log / error_log (e.g. plain log files) and setting up logrotate. I didn't really need things to go to syslog in the end (I don't need to do off-box log aggregation or anything -- even if I did there are agents that can watch files).

@agelwarg
Copy link

@boardwalk Makes sense and I’m sorta arriving at the same solution. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants