Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

autossh: Drop unnecessary -2 option.

Alex Vandiver951dc68f3ae5
diff --git a/puppet/zulip_ops/templates/supervisor/conf.d/munin_tunnels.conf.erb b/puppet/zulip_ops/templates/supervisor/conf.d/munin_tunnels.conf.erb
index f09f4d2d1a9..4cfcc635adb 100644
--- a/puppet/zulip_ops/templates/supervisor/conf.d/munin_tunnels.conf.erb
+++ b/puppet/zulip_ops/templates/supervisor/conf.d/munin_tunnels.conf.erb
@@ -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)