ssh-tunnel.service 299 B

12345678910111213141516
  1. #/etc/systemd/system/ssh-tunnel.service
  2. [Unit]
  3. Description=SSH tunnel
  4. After=network.target
  5. [Service]
  6. User=fourier
  7. Group=fourier
  8. ExecStart=/bin/sh /home/fourier/programs/ssh-tunnel.sh
  9. RemainAfterExit=yes
  10. KillMode=control-group
  11. #Restart=on-abnormal
  12. Type=oneshot
  13. [Install]
  14. WantedBy=multi-user.target