autossh: Drop unnecessary -2 option.

The -2 option is a no-op.
This commit is contained in:
Alex Vandiver 2022-11-01 14:44:50 -04:00 committed by Tim Abbott
parent 167b891d4e
commit 951dc68f3a
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ i = 0
@hosts.each do |host|
-%>
[program:munin-tunnel-<%= host %>]
command=autossh -2 -N -M <%= 20000 + 2 * i %> -L <%= 5000 + i %>:localhost:4949 nagios@<%= host %>.<%= @default_host_domain %>
command=autossh -N -M <%= 20000 + 2 * i %> -L <%= 5000 + i %>:localhost:4949 nagios@<%= host %>.<%= @default_host_domain %>
priority=200 ; the relative start priority (default 999)
autostart=true ; start at supervisord start (default: true)
autorestart=true ; whether/when to restart (default: unexpected)