mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
d36ab05bf1
* Fix frigate service restarting inside devcontainer * Add timeouts to services exit process So s6 won't wait forever.
14 lines
271 B
Plaintext
Executable File
14 lines
271 B
Plaintext
Executable File
#!/command/with-contenv bash
|
|
# shellcheck shell=bash
|
|
# Start the fake Frigate service
|
|
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
# Tell S6-Overlay not to restart this service
|
|
s6-svc -O .
|
|
|
|
while true; do
|
|
echo "[INFO] The fake Frigate service is running..."
|
|
sleep 5s
|
|
done
|