From 9ced0509261dacaa617c39d32ed2c2a4297f0cb2 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 18 Aug 2009 05:33:45 +0000 Subject: Bug 509539: Allow jobqueue.pl to specify where it stores its PID Patch by Max Kanat-Alexander r=dkl, a=mkanat --- jobqueue.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) mode change 100644 => 100755 jobqueue.pl (limited to 'jobqueue.pl') diff --git a/jobqueue.pl b/jobqueue.pl old mode 100644 new mode 100755 index ad0c81f85..eae05456a --- a/jobqueue.pl +++ b/jobqueue.pl @@ -37,10 +37,17 @@ jobqueue.pl - Runs jobs in the background for Bugzilla. =head1 SYNOPSIS - ./jobqueue.pl [ -f ] [ -d ] { start | stop | restart | check | help | version } + ./jobqueue.pl [OPTION] { start | stop | restart | check | help | version } + OPTIONS: -f Run in the foreground (don't detach) -d Output a lot of debugging information + -p file Specify the file where jobqueue.pl should store its current + process id. Defaults to F. + -n name What should this process call itself in the system log? + Defaults to the full path you used to invoke the script. + + COMMANDS: start Starts a new jobqueue daemon if there isn't one running already stop Stops a running jobqueue daemon restart Stops a running jobqueue if one is running, and then -- cgit v1.2.3-24-g4f1b