jvb: fix terminate script for autoscaler sidecar

* jvb: fix terminate script for autoscaler sidecar
pull/1678/head
Aaron van Meerten 11 months ago committed by GitHub
parent 3519113ef9
commit 2e3c272bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      jvb/rootfs/defaults/autoscaler-sidecar.config
  2. 3
      jvb/rootfs/opt/jitsi/shutdown.sh

@ -5,7 +5,7 @@ export SHUTDOWN_POLLING_INTERVAL={{ $SHUTDOWN_POLLING_INTERVAL }}
export STATS_POLLING_INTERVAL={{ $STATS_POLLING_INTERVAL }} export STATS_POLLING_INTERVAL={{ $STATS_POLLING_INTERVAL }}
export PORT={{ .Env.AUTOSCALER_SIDECAR_PORT }} export PORT={{ .Env.AUTOSCALER_SIDECAR_PORT }}
export GRACEFUL_SHUTDOWN_SCRIPT="/usr/share/jitsi-videobridge/graceful_shutdown.sh" export GRACEFUL_SHUTDOWN_SCRIPT="/usr/share/jitsi-videobridge/graceful_shutdown.sh"
export TERMINATE_SCRIPT="/opt/jitsi/jvb/shutdown.sh" export TERMINATE_SCRIPT="/opt/jitsi/shutdown.sh"
export ENABLE_REPORT_STATS=true export ENABLE_REPORT_STATS=true
export POLLING_URL="{{ .Env.AUTOSCALER_URL }}/sidecar/poll" export POLLING_URL="{{ .Env.AUTOSCALER_URL }}/sidecar/poll"
export STATUS_URL="{{ .Env.AUTOSCALER_URL }}/sidecar/status" export STATUS_URL="{{ .Env.AUTOSCALER_URL }}/sidecar/status"

@ -0,0 +1,3 @@
# shutdown everything
s6-svscanctl -t /var/run/s6/services
Loading…
Cancel
Save