From b66c9863707a594ea291ad0e7e93735056f37485 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 --- 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 bdb13f2463..1e22d8f834 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