From 3ca898120adf616daab0610f9d1c523f2931864e Mon Sep 17 00:00:00 2001
From: GuillaumeV <88834548+guillaumevillemont@users.noreply.github.com>
Date: Thu, 12 Sep 2024 14:29:36 +0200
Subject: [PATCH] Remove s6 shutdown script

---
 jibri/rootfs/opt/jitsi/shutdown.sh | 11 -----------
 1 file changed, 11 deletions(-)
 delete mode 100755 jibri/rootfs/opt/jitsi/shutdown.sh

diff --git a/jibri/rootfs/opt/jitsi/shutdown.sh b/jibri/rootfs/opt/jitsi/shutdown.sh
deleted file mode 100755
index 1cc01e4081..0000000000
--- a/jibri/rootfs/opt/jitsi/shutdown.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/with-contenv bash
-# notify the sidecar of imminent shutdown
-PORT=${AUTOSCALER_SIDECAR_PORT:-6000}
-curl -d '{}' -v 0:$PORT/hook/v1/shutdown
-sleep 10
-
-# signal jibri to shutdown via rest api
-/opt/jitsi/jibri/shutdown.sh
-
-# shutdown everything else
-s6-svscanctl -t /var/run/s6/services