Log all services to memory (#4587)

* Log all services to RAM

* Fix tests workdir

* Rotate logs when they reach 10MB and keep only 1 archive

* Gracefully handle shutdown

* Add note about gracetime not working

* Fix logs permission, create fake logs for devcontainer

* Remove empty line

* Update docker/rootfs/etc/services.d/frigate/run

* Fix fake Frigate shebang
This commit is contained in:
Felipe Santos
2022-12-07 10:47:40 -03:00
committed by GitHub
parent 6abc0ce921
commit 2a5ab77637
15 changed files with 101 additions and 14 deletions

8
docker/fake_frigate_run Executable file
View File

@@ -0,0 +1,8 @@
#!/command/with-contenv bash
# shellcheck shell=bash
# Start the fake Frigate service
while true; do
echo "The fake Frigate service is running..."
sleep 5s
done