Replies: 1 comment 2 replies
-
I'm sorry but could you explain please, in what command you suggest flag.I'm new in programming and administration. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently the chia node/farmer/etc all daemonize and fork to the background.
While this is great for certain applications, it's really annoying when trying to run chia as a supervised program (e.g. under supervisord or daemontools).
The current docker implementation has an ugly sleep loop, I presume that's because of this daemonization, but ideally I would like to see the docker run a single task (e.g. just the full node or only the farmer) in the foreground and either be pid 1, or run under supervisord so some other things like plotman can run next to it.
Suggestion: add -f flag to run in foreground that skips the daemonization. Bonus points for automatically logging to stdout/stderr.
Beta Was this translation helpful? Give feedback.
All reactions