diff options
author | mkanat%bugzilla.org <> | 2009-08-18 05:33:45 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-08-18 05:33:45 +0000 |
commit | 9ced0509261dacaa617c39d32ed2c2a4297f0cb2 (patch) | |
tree | f8db3269362a384cc9b0a15eb0d88ee002092be3 /jobqueue.pl | |
parent | Bug 389396: Do not list series you cannot plot - Patch by Frédéric Bucl... (diff) | |
download | bugzilla-9ced0509261dacaa617c39d32ed2c2a4297f0cb2.tar.gz bugzilla-9ced0509261dacaa617c39d32ed2c2a4297f0cb2.tar.bz2 bugzilla-9ced0509261dacaa617c39d32ed2c2a4297f0cb2.zip |
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.pl | 9 |
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 |