Do not use PID files for --run-service so one service can run concurrently.

This commit is contained in:
Daniel Nichter
2013-05-07 20:17:18 -07:00
parent 881d2ebaa9
commit a5f04f27e4

View File

@@ -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,
);