From 27cc3de61a1ad1a02b859cfe3dd96aa916295426 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 4 Sep 2009 21:20:16 +0000 Subject: Bug 475403: A RHEL SysV Init Script for jobqueue.pl Patch by Max Kanat-Alexander r=dkl, a=mkanat --- jobqueue.pl | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'jobqueue.pl') diff --git a/jobqueue.pl b/jobqueue.pl index eae05456a..78490ddf0 100755 --- a/jobqueue.pl +++ b/jobqueue.pl @@ -37,7 +37,7 @@ jobqueue.pl - Runs jobs in the background for Bugzilla. =head1 SYNOPSIS - ./jobqueue.pl [OPTION] { start | stop | restart | check | help | version } + ./jobqueue.pl [OPTIONS] COMMAND OPTIONS: -f Run in the foreground (don't detach) @@ -53,9 +53,27 @@ jobqueue.pl - Runs jobs in the background for Bugzilla. restart Stops a running jobqueue if one is running, and then starts a new one. check Report the current status of the daemon. + install On some *nix systems, this automatically installs and + configures jobqueue.pl as a system service so that it will + start every time the machine boots. + uninstall Removes the system service for jobqueue.pl. help Display this usage info version Display the version of jobqueue.pl =head1 DESCRIPTION See L and L. + +=head1 Running jobqueue.pl as a System Service + +For systems that use Upstart or SysV Init, there is a SysV/Upstart init +script included with Bugzilla for jobqueue.pl: F. +It should work out-of-the-box on RHEL, Fedora, CentOS etc. + +You can install it by doing C<./jobqueue.pl install> as root, after +already having run L at least once to completion +on this Bugzilla installation. + +If you are using a system that isn't RHEL, Fedora, CentOS, etc., then you +may have to modify F and install it yourself +manually in order to get C running as a system service. -- cgit v1.2.3-24-g4f1b