Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. [Unit]
  2. Description=Auto SSH Service
  3. Wants=network-online.target
  4. After=network-online.target
  5.  
  6. [Service]
  7. Type=simple
  8. User=pi
  9. WorkingDirectory=/home/pi/autossh
  10. ExecStart=/home/pi/autossh/script.sh
  11. Restart=always
  12. RestartSec=5s
  13.  
  14. [Install]
  15. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement