- pronto@thunkwat:~$ cat /etc/systemd/system/autossh-tartun.service
- [Unit]
- Description=Autossh tar1090
- After=network.target
- [Service]
- Environment="AUTOSSH_GATETIME=0"
- ExecStart=/usr/bin/autossh -M 0 -o "ExitOnForwardFailure=yes" \
- -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" \
- -NR wire.xpost.space:8080:localhost:8078 auto_wire
- [Install]
- WantedBy=multi-user.target