task: support logging to file in JVB container (#1675)

pull/1678/head
Aaron van Meerten 11 months ago committed by GitHub
parent 431cdccbfe
commit 4fba8b5d98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docker-compose.yml
  2. 5
      jvb/rootfs/etc/services.d/jvb/run

@ -408,6 +408,7 @@ services:
- JVB_PORT - JVB_PORT
- JVB_MUC_NICKNAME - JVB_MUC_NICKNAME
- JVB_STUN_SERVERS - JVB_STUN_SERVERS
- JVB_LOG_FILE
- JVB_OCTO_BIND_ADDRESS - JVB_OCTO_BIND_ADDRESS
- JVB_OCTO_REGION - JVB_OCTO_REGION
- JVB_OCTO_RELAY_ID - JVB_OCTO_RELAY_ID

@ -4,4 +4,7 @@ export JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/ -Dnet.
DAEMON=/usr/share/jitsi-videobridge/jvb.sh DAEMON=/usr/share/jitsi-videobridge/jvb.sh
exec s6-setuidgid jvb /bin/bash -c "exec $DAEMON" JVB_CMD="exec $DAEMON"
[ -n "$JVB_LOG_FILE" ] && JVB_CMD="$JVB_CMD 2>&1 | tee $JVB_LOG_FILE"
exec s6-setuidgid jvb /bin/bash -c "$JVB_CMD"

Loading…
Cancel
Save