Created
April 25, 2017 02:33
-
-
Save gtt116/e7abe1c32a46df85b7599fbc7a9f9f73 to your computer and use it in GitHub Desktop.
autossh supervisord config file
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
[program:autossh] | |
command=autossh -M0 -N | |
-o "ExitOnForwardFailure yes" | |
-o "ServerAliveInterval 15" | |
-o "ServerAliveCountMax 4" | |
-o "ControlPath none" | |
-o "UserKnownHostsFile=/dev/null" | |
-o StrictHostKeyChecking=no | |
-R 1234:localhost:1234 | |
-R 4567:localhost:4567 | |
[email protected] | |
autostart=true | |
autorestart=true | |
startretries=999 | |
redirect_stderr=true | |
stdout_logfile = /var/log/supervisor/autossh.log | |
stdout_logfile_maxbytes = 10MB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment