13 lines
340 B
SYSTEMD
13 lines
340 B
SYSTEMD
|
[Unit]
|
||
|
Description=AutoSSH tunnel to artwork user on rubenvandeven.com port 6669
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Environment="AUTOSSH_GATETIME=0"
|
||
|
ExecStart=/usr/bin/autossh -M 0 -N -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 6669:localhost:22 artwork1@here.rubenvandeven.com
|
||
|
User=pi
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|