From 949b2683a061e7a164b83eb82e3bc5f36ab6ebdf Mon Sep 17 00:00:00 2001 From: Joscha Date: Fri, 28 Feb 2025 14:09:50 +0100 Subject: [PATCH] Make tunnel more robust --- showbits-thermal-printer/meta/spinch-tunnel.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/showbits-thermal-printer/meta/spinch-tunnel.service b/showbits-thermal-printer/meta/spinch-tunnel.service index c199167..c7529da 100644 --- a/showbits-thermal-printer/meta/spinch-tunnel.service +++ b/showbits-thermal-printer/meta/spinch-tunnel.service @@ -7,8 +7,9 @@ After=network-online.target [Service] Type=simple -ExecStart=ssh plugh@plugh.de -NR 8005:localhost:8001 +ExecStart=ssh plugh@plugh.de -NR 8005:localhost:8001 -o ExitOnForwardFailure=yes Restart=on-failure +RestartSec=1min User=bondrucker Group=bondrucker