Skip to content

Commit

Permalink
fixme: do not merge: enable extra cockpit debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
KKoukiou committed Oct 24, 2024
1 parent 0081bb3 commit 01fe525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webui-desktop
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ exec 4<&${COPROC[0]}- 5>&${COPROC[1]}- ; COCKPIT_BRIDGE_OUT=4 COCKPIT_BRIDGE_IN=
# forward parent stdin and stdout (from bridge) to cockpit-ws
# it pretty well does not matter which port we use in our own namespace, so use standard http
# disable /etc/cockpit/
XDG_CONFIG_DIRS="$BROWSER_HOME" COCKPIT_SUPERUSER="pkexec" /usr/libexec/cockpit-ws -p 80 -a "$WEBUI_ADDRESS" --no-tls --local-session=- \
<&${COCKPIT_BRIDGE_OUT} >&${COCKPIT_BRIDGE_IN} &
COCKPIT_DEBUG=all XDG_CONFIG_DIRS="$BROWSER_HOME" COCKPIT_SUPERUSER="pkexec" /usr/libexec/cockpit-ws -p 80 -a "$WEBUI_ADDRESS" --no-tls --local-session=- \
<&${COCKPIT_BRIDGE_OUT} 2>&1 | tee >(systemd-cat -t cockpit-ws) >&${COCKPIT_BRIDGE_IN} &

WS_PID=$!
# ... and stop using that stdin/out for everything else
Expand Down

0 comments on commit 01fe525

Please sign in to comment.