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

diod: keep --foreground option for compatibility #134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a3f
Copy link

@a3f a3f commented Jan 30, 2025

Commit 3dc9363 ("diod: always run in the foreground") did what it says on the tin and removed the functionality to daemonize. The old --foreground option that disabled daemonization was also removed.

The breaks existing setups that were using foreground execution all along via passing --foreground: The option no longer exists and instead the full usage test is printed.

As not to break existing setups, let's keep the --foreground option around for now and just make it a no-op, given that it became the default behavior.

Commit 3dc9363 ("diod: always run in the foreground") did what it says
on the tin and removed the functionality to daemonize. The old --foreground
option that disabled daemonization was also removed.

The breaks existing setups that were using foreground execution all along
via passing --foreground: The option no longer exists and instead the
full usage text is printed.

As not to break existing setups, let's keep the --foreground option
around for now and just turn it a no-op, given that it became the
default behavior.
@a3f a3f force-pushed the reinstate-foreground-option branch from fb71d52 to 539827e Compare January 30, 2025 13:39
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.

1 participant