From aa66a3c20a7745f86f67a98ef3bcabdb9ecd7b01 Mon Sep 17 00:00:00 2001 From: Tim Kuhlman Date: Fri, 29 Aug 2014 13:39:33 -0600 Subject: [PATCH] If zookeeper is not accessible respawn is too fast for the default settings. Change-Id: I8b3d1e7fa671b47e42fa449c63255b141b0ab207 --- metadata.rb | 2 +- templates/default/monasca-notification.conf.erb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/metadata.rb b/metadata.rb index 544fd79..da09950 100644 --- a/metadata.rb +++ b/metadata.rb @@ -6,5 +6,5 @@ maintainer_email 'hpcs-mon@hp.com' license 'All rights reserved' description 'Installs/Configures monasca_notification' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '0.1.19' +version '0.1.20' depends 'python' diff --git a/templates/default/monasca-notification.conf.erb b/templates/default/monasca-notification.conf.erb index e885ff2..e7e59c3 100644 --- a/templates/default/monasca-notification.conf.erb +++ b/templates/default/monasca-notification.conf.erb @@ -7,6 +7,7 @@ console log respawn kill timeout 240 +respawn limit 25 5 setgid <%= node[:monasca_notification][:group] %> setuid <%= node[:monasca_notification][:user] %>