Disable autossh built-in monitoring

This commit is contained in:
Ryan Cavicchioni 2019-12-03 20:18:54 -06:00
parent 4f85a73714
commit aaa3d221e1
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -10,7 +10,7 @@ Type=simple
User={{ autossh_user }}
EnvironmentFile={{ autossh_etc_path }}/%i
ExecStart=
ExecStart=/usr/bin/autossh -C -q -l {{ autossh_user }} -N -o ExitOnForwardFailure=yes -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no $SSH_OPTIONS $SSH_HOST
ExecStart=/usr/bin/autossh -M 0 -C -q -l {{ autossh_user }} -N -o ExitOnForwardFailure=yes -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no $SSH_OPTIONS $SSH_HOST
Restart=always
RestartSec=60
RuntimeDirectory=autossh