Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Auto SSH Service
- Wants=network-online.target
- After=network-online.target
- [Service]
- Type=simple
- User=pi
- WorkingDirectory=/home/pi/autossh
- ExecStart=/home/pi/autossh/script.sh
- Restart=always
- RestartSec=5s
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement