Forked from gtt116/gist:e7abe1c32a46df85b7599fbc7a9f9f73
Last active
July 9, 2019 18:47
-
-
Save kurohai/eb89cf461d8a1d803d58a00a89428b8a to your computer and use it in GitHub Desktop.
autossh supervisord config file
This file contains hidden or 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