ssh_tunnel/templates/local/autossh.service.j2

13 lines
220 B
Text
Raw Normal View History

2022-07-13 12:52:07 +02:00
[Unit]
Description=AutoSSH tunnel service
After=network-online.target
[Service]
Type=simple
User=autossh
Environment="AUTOSSH_GATETIME=0"
ExecStart=/usr/bin/autossh -M 0 gateway -N
[Install]
WantedBy=multi-user.target