16 lines
386 B
Desktop File
16 lines
386 B
Desktop File
[Unit]
|
|
Description=SSH Tunnel - Letture Movimento Assi Materia-CL
|
|
Requires=network.target mosquitto.service docker.service
|
|
|
|
[Service]
|
|
RestartSec=15s
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/root/NasoScopio/NasoScope/
|
|
ExecStart=/usr/bin/autossh -Nf -M 0 -L 8080:192.168.0.1:8080 cnc@192.168.30.51
|
|
PIDFile=/run/sshtunnel.pid
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |