From c7f4934014f8a6a7d0228a8b97e4b5405c74c955 Mon Sep 17 00:00:00 2001 From: Joscha Date: Thu, 27 Feb 2025 22:35:59 +0100 Subject: [PATCH] Open tunnel only once network is online --- showbits-thermal-printer/meta/spinch-tunnel.service | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/showbits-thermal-printer/meta/spinch-tunnel.service b/showbits-thermal-printer/meta/spinch-tunnel.service index fe85168..c199167 100644 --- a/showbits-thermal-printer/meta/spinch-tunnel.service +++ b/showbits-thermal-printer/meta/spinch-tunnel.service @@ -1,6 +1,10 @@ [Unit] Description=Showbits Thermal Printer Tunnel +# https://wiki.archlinux.org/title/Systemd#Running_services_after_the_network_is_up +Wants=network-online.target +After=network-online.target + [Service] Type=simple ExecStart=ssh plugh@plugh.de -NR 8005:localhost:8001