[Unit] Description=SSH tunnel for Pi fan_controller socket (waybar widget) After=network-online.target Wants=network-online.target [Service] ExecStart=/usr/bin/ssh -N \ -o ExitOnForwardFailure=yes \ -o ServerAliveInterval=15 \ -o ServerAliveCountMax=3 \ -L 10250:/tmp/fan_controller.sock root@10.55.0.1 Restart=always RestartSec=5 [Install] WantedBy=default.target