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.
This commit is contained in:
@@ -7,8 +7,9 @@ Requisite=graphical-session.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/wayvnc
|
ExecStart=/usr/bin/wayvnc
|
||||||
Restart=on-failure
|
Restart=always
|
||||||
RestartSec=2
|
RestartSec=5
|
||||||
|
StartLimitIntervalSec=0
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical-session.target
|
WantedBy=graphical-session.target
|
||||||
|
|||||||
Reference in New Issue
Block a user