From 89c3ff257dd447ee7428f33e315d275767620c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Mon, 24 Aug 2026 17:34:23 +0200 Subject: [PATCH] fix(wayvnc): always restart, even on clean exit wayvnc exits with status 0 when it loses its capture output (e.g. the idle daemon powering the screen off), so Restart=on-failure never brought it back. Restart=always + StartLimitIntervalSec=0 keeps it retrying until the output returns. --- .config/systemd/user/wayvnc.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/systemd/user/wayvnc.service b/.config/systemd/user/wayvnc.service index 1b24686..43a12c9 100644 --- a/.config/systemd/user/wayvnc.service +++ b/.config/systemd/user/wayvnc.service @@ -7,8 +7,9 @@ Requisite=graphical-session.target [Service] Type=simple ExecStart=/usr/bin/wayvnc -Restart=on-failure -RestartSec=2 +Restart=always +RestartSec=5 +StartLimitIntervalSec=0 [Install] WantedBy=graphical-session.target