You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to apply any control over output that the main service provides without deep internal knowledge.
Reason for change
ZNC provides a --debug CLI option for inspecting the full set of commands between ZNC, clients and servers but the S6 service hard-codes the CLI options so working around this requires understanding S6. It also provides a admindebug module, but that module requires a TTY and so won't work alongside everything else S6-overlay provides. The --debug option is more "low-level" and just more important to support.
Proposed code change
To workaround this, I exported the /etc/s6-overlay/s6-rc.d/svc-znc/run file from the container and applied the following change to add the --debug CLI option when the DEBUG environment variable was set:
But if I were tackling this issue, I would prefer adding some generalized support for including additional CLI arguments for the container's "main" service to S6-overlay and use that, even if that's little more than a convention.
The text was updated successfully, but these errors were encountered:
Is this a new feature request?
Wanted change
It should be possible to apply any control over output that the main service provides without deep internal knowledge.
Reason for change
ZNC provides a
--debug
CLI option for inspecting the full set of commands between ZNC, clients and servers but the S6 service hard-codes the CLI options so working around this requires understanding S6. It also provides aadmindebug
module, but that module requires a TTY and so won't work alongside everything else S6-overlay provides. The--debug
option is more "low-level" and just more important to support.Proposed code change
To workaround this, I exported the
/etc/s6-overlay/s6-rc.d/svc-znc/run
file from the container and applied the following change to add the--debug
CLI option when theDEBUG
environment variable was set:But if I were tackling this issue, I would prefer adding some generalized support for including additional CLI arguments for the container's "main" service to S6-overlay and use that, even if that's little more than a convention.
The text was updated successfully, but these errors were encountered: