Files
cooling_pad_fan_controller/waybar/fan-tunnel.service
T
fegger 4a47277c86 Add remote fan tunnel support and rename Waybar widget
Add systemd service to bridge the Pi Unix socket over SSH, make fan.py
fall back to the TCP tunnel, and rename the module from `custom/fan` to
`custom/cooling_pad`. Update README install steps and connection details.
2026-09-11 10:54:00 +02:00

17 lines
375 B
Desktop File

[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