mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-12 14:18:32 +00:00
Do not use PID files for --run-service so one service can run concurrently.
This commit is contained in:
@@ -6065,7 +6065,7 @@ sub run_service {
|
|||||||
|
|
||||||
my $daemon = Daemon->new(
|
my $daemon = Daemon->new(
|
||||||
daemonize => 0, # no need: we're running from cron
|
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",
|
log_file => "$lib_dir/logs/$service.run",
|
||||||
force_log_file => 1,
|
force_log_file => 1,
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user