#/etc/systemd/system/ssh-tunnel.service [Unit] Description=SSH tunnel After=network.target [Service] User=fourier Group=fourier ExecStart=/bin/sh /home/fourier/programs/ssh-tunnel.sh RemainAfterExit=yes KillMode=control-group #Restart=on-abnormal Type=oneshot [Install] WantedBy=multi-user.target