Skip to content

Commit

Permalink
Merge pull request apsoto#13 from cjAdvertising/fix-mail-port-config
Browse files Browse the repository at this point in the history
Fix mail server port in monitrc template.
  • Loading branch information
apsoto committed Oct 30, 2012
2 parents fa625c9 + 2dcf2cf commit 94f1879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/monitrc.erb
Expand Up @@ -5,7 +5,7 @@ set daemon <%= @node[:monit][:poll_period] %>

set logfile syslog facility log_daemon

set mailserver <%= @node[:monit][:mailserver][:host] %><%= " port #{@node[:monit][:mailserver][:port]}" if @node[:monit][:mailserver][:host] %>
set mailserver <%= @node[:monit][:mailserver][:host] %><%= " port #{@node[:monit][:mailserver][:port]}" if @node[:monit][:mailserver][:port] %>
<% if @node[:monit][:mailserver][:username] %>
username "<%= @node[:monit][:mailserver][:username] %>"
<% end %>
Expand Down

0 comments on commit 94f1879

Please sign in to comment.