Files
frigate/frigate/util
Josh Hawkins ac0f6c9dd3 fix restart failing under non-root
restart_frigate() called psutil.Process(1).terminate() to signal s6-svscan, but s6-svscan runs as root while frigate runs as uid 1000, so the call raised AccessDenied. That exception escaped every caller: the UI restart button dropped its websocket client, MQTT restart and Save & Restart just logged and did nothing, and the watchdog crashed its own monitoring thread on a dead detector. This catches AccessDenied and falls through to the existing SIGINT branch, which exits the process for s6 to restart it.
2026-09-18 06:55:36 -05:00
..
2025-08-16 10:20:33 -05:00
2026-09-12 07:30:04 -06:00
2026-09-12 07:30:04 -06:00
2026-07-06 12:28:02 -05:00
2026-09-18 06:55:36 -05:00
2026-09-18 06:55:36 -05:00
2025-07-07 06:35:55 -06:00