This commit is contained in:
Ankle committed 2026-08-10 18:38:25 +08:00
1 parent 71c4711282
commit 3c997033cb
4 files changed
+139 -32

No files matched your search

+4 -2
View File
@@ -35,8 +35,10 @@ install -o root -g root -m 0644 \
systemctl daemon-reload
systemctl enable --now cleanup-smartcam-data.timer
# The fast timer is started only while low disk space disables local recording.
systemctl disable cleanup-smartcam-data-resume.timer 2>/dev/null || true
# Enable the recovery timer at boot so a low-disk marker that survives a host
# restart is noticed promptly. With no marker, its first run stops itself;
# the 60-minute primary cleanup schedule is unchanged.
systemctl enable cleanup-smartcam-data-resume.timer
if [[ -f /userdata/data/.recording-paused-low-disk || \
-f /var/lib/cleanup-smartcam-data/capture-paused || \
-f /var/lib/userdata-video-cleanup/capture-paused ]]; then