From 697b2297e9775876393f27475d25ee9489ac9d75 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Tue, 22 Oct 2013 17:35:25 +0200 Subject: [PATCH] feature #1678: close collectd-client.rb's output (cherry picked from commit b66c9863707a594ea291ad0e7e93735056f37485) --- src/im_mad/remotes/common.d/collectd-client_control.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/im_mad/remotes/common.d/collectd-client_control.sh b/src/im_mad/remotes/common.d/collectd-client_control.sh index 0f89c4c17e..73b2f71e23 100755 --- a/src/im_mad/remotes/common.d/collectd-client_control.sh +++ b/src/im_mad/remotes/common.d/collectd-client_control.sh @@ -32,7 +32,7 @@ CLIENT_PID_FILE=/tmp/one-collectd-client.pid # Launch the client function start_client() { - /usr/bin/env ruby $CLIENT $ARGV & + nohup /usr/bin/env ruby $CLIENT $ARGV >/dev/null 2>&1 & } # Write the PID