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

Stdout in SystemV init script #722

Closed
ghost opened this issue Jan 7, 2016 · 1 comment
Closed

Stdout in SystemV init script #722

ghost opened this issue Jan 7, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 7, 2016

Now we don't save stdout/stderr of application in SystemV init system in Debian (but save in Rpm). It could be useful for example when app is crashed due to OOM exception. It this case nothing is logged and app is stopped.
I have a workaround that works for start-stop-daemon version >= 1.16.5 (Debian Wheezy has 1.16.16).
It could broke some installations if application wrote a lot to stdout and daemon.log will grow rapidly.
WDYT?

@muuki88
Copy link
Contributor

muuki88 commented Jan 8, 2016

I had trouble with SystemV as well. Actually I would like to keep things as stable as they are and hope that SystemD will be used more and more as a default systemloader, which brings all this features out-of-the-box with no error-prone bash needed.

If you provide a pull request that makes this feature selectable (e.g. a systemVLog setting), which is by default off and doesn't change current behaviour, we could merge it.

In a nutshell: SystemV is so old, error prone and hard to use and SystemD is on it's way (Debian, Ubuntu, Fedora IIRC already adapted it). So if a change you have to make a pull request :)

@muuki88 muuki88 closed this as completed Feb 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant