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

Remove --daemon from lightningd.service #6377

Conversation

ErikDeSmedt
Copy link
Contributor

When the --daemon flag is used, lightningd requires that --log-file is used as well. By consequence, the lightningd.service didn't work out-of-the-box for me.

This changes also sends the logs to journald.
The new approach is consistent with the bitcoind.service file in the bitcoin-core repository.

I prefer this approach because it comes with automatic log-rotation.

When the `--daemon` flag is used, `lightningd` requires that `--log-file`
is used as well. By consequence, the `lightningd.service` didn't work
out-of-the-box for me.

This changes also sends the logs to `journald`.
The new approach is consistent with the `bitcoind.service` file in the bitcoin-core repository.

I prefer this approach because it comes with automatic log-rotation.
Copy link
Collaborator

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 4b9c05a

@ErikDeSmedt
Copy link
Contributor Author

The tests failed but I don't see relation between the failed tests and my code.

Is it possible this is a flakey test. If yes, can anyone run it again?

@vincenzopalazzo
Copy link
Collaborator

Is it possible this is a flakey test. If yes, can anyone run it again?

Yah it is :)

@rustyrussell rustyrussell merged commit db9dbc5 into ElementsProject:master Jul 9, 2023
37 checks passed
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.

None yet

3 participants