Compare commits

..
Author SHA1 Message Date
MickLesk 291a125466 Frigate: stop the service cleanly
bash was the unit's main process and the default KillMode signalled the
whole cgroup, so Frigate's multiprocessing helpers died first and its
shutdown hung until systemd killed it after 90 s. Python is now the main
process and only it gets SIGTERM.
2026-12-04 08:02:23 +01:00
CanbiZ (MickLesk) f6d75d7a33 Revert "Refactor AdGuard Home update process (#19291)" (#19293)
This reverts commit 681e168ff7.
2026-12-04 06:33:09 +01:00
+3 -1
View File
@@ -368,7 +368,9 @@ User=root
EnvironmentFile=/etc/frigate.env
ExecStartPre=+/usr/bin/systemctl restart go2rtc.service
ExecStartPre=+rm -f /dev/shm/logs/frigate/current
ExecStart=/bin/bash -c "bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run 2> >(/usr/bin/ts '%%Y-%%m-%%d %%H:%%M:%%.S ' >&2) | /usr/bin/ts '%%Y-%%m-%%d %%H:%%M:%%.S '"
ExecStart=/bin/bash -c 'exec > >(/usr/bin/ts "%%Y-%%m-%%d %%H:%%M:%%.S ") 2>&1; exec bash /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run'
KillMode=mixed
TimeoutStopSec=60
StandardOutput=file:/dev/shm/logs/frigate/current
StandardError=file:/dev/shm/logs/frigate/current