From 1738cf9ed0a2fc8268158814f496f2cba7b9d1a6 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Thu, 8 Jan 2026 21:37:30 -0300 Subject: [PATCH] uvc: refuse manual stop in unit --- scripts/install/server.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install/server.sh b/scripts/install/server.sh index e983319..8a310ed 100755 --- a/scripts/install/server.sh +++ b/scripts/install/server.sh @@ -201,14 +201,14 @@ cat <<'UNIT' | sudo tee /etc/systemd/system/lesavka-uvc.service >/dev/null Description=lesavka UVC control helper After=lesavka-core.service Requires=lesavka-core.service +RefuseManualStop=yes [Service] ExecStart=/usr/local/bin/lesavka-uvc.sh Restart=always RestartSec=2 KillSignal=SIGTERM -KillMode=none -RefuseManualStop=yes +KillMode=process TimeoutStopSec=10 StandardError=append:/tmp/lesavka-uvc.stderr User=root