summaryrefslogtreecommitdiffstats
path: root/jobqueue.pl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-08-18 07:33:45 +0200
committermkanat%bugzilla.org <>2009-08-18 07:33:45 +0200
commit9ced0509261dacaa617c39d32ed2c2a4297f0cb2 (patch)
treef8db3269362a384cc9b0a15eb0d88ee002092be3 /jobqueue.pl
parent5f725ca6ee9edb009af450d79ab7a0f88c059e8d (diff)
downloadbugzilla-9ced0509261dacaa617c39d32ed2c2a4297f0cb2.tar.gz
bugzilla-9ced0509261dacaa617c39d32ed2c2a4297f0cb2.tar.xz
Bug 509539: Allow jobqueue.pl to specify where it stores its PID
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'jobqueue.pl')
-rwxr-xr-x[-rw-r--r--]jobqueue.pl9
1 files changed, 8 insertions, 1 deletions
diff --git a/jobqueue.pl b/jobqueue.pl
index ad0c81f85..eae05456a 100644..100755
--- 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<data/jobqueue.pl.pid>.
+ -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