Created
January 19, 2016 03:37
-
-
Save nhooyr/c003d6c3466171d48beb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=reverse ssh tunnel for ezekiel | |
Requires=network-online.target | |
After=network-online.target | |
[Service] | |
User=nhooyr | |
ExecStart=/usr/bin/autossh -M 0 -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -NTC -R 10900:localhost:18187 ezekiel | |
RestartSec=3 | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment