From a5f04f27e4819cfe6e59ebd082b721a423fec070 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Tue, 7 May 2013 20:17:18 -0700 Subject: [PATCH] Do not use PID files for --run-service so one service can run concurrently. --- bin/pt-agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pt-agent b/bin/pt-agent index 1b660cdb..864515f6 100755 --- a/bin/pt-agent +++ b/bin/pt-agent @@ -6065,7 +6065,7 @@ sub run_service { my $daemon = Daemon->new( daemonize => 0, # no need: we're running from cron - pid_file => "$lib_dir/pids/$service.run", + # no pid_file because --run-service X must handle concurrent runs of X log_file => "$lib_dir/logs/$service.run", force_log_file => 1, );