Bug 21366: Add --reload option to koha-plack help/manual

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
David Cook 2022-08-12 02:13:10 +00:00 committed by Tomas Cohen Arazi
parent e0f1110389
commit af00fbd22b
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 12 additions and 1 deletions

View File

@ -28,6 +28,7 @@
<option>--start</option>|
<option>--stop</option>|
<option>--restart</option>|
<option>--reload</option>|
<option>--enable</option>|
<option>--disable</option>|
<option>--help</option>|<option>-h</option>
@ -62,6 +63,13 @@
</listitem>
</varlistentry>
<varlistentry>
<term><option>--reload</option></term>
<listitem>
<para>Reload the Plack daemon for the desired Koha instances, letting the busy workers finish processing their requests before restarting them.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--enable</option></term>
<listitem>

View File

@ -43,13 +43,16 @@ $scriptname
This script lets you manage the plack daemons for your Koha instances.
Usage:
$scriptname --start|--stop|--restart [--quiet|-q] instancename1 [instancename2...]
$scriptname --start|--stop|--restart|--reload [--quiet|-q] instancename1 [instancename2...]
$scriptname --enable|--disable instancename1 [instancename2]
$scriptname -h|--help
--start Start the plack daemon for the specified instances
--stop Stop the plack daemon for the specified instances
--restart Restart the plack daemon for the specified instances
--reload Reload the plack daemon for the specified instances,
letting the busy workers finish processing their
requests before restarting them
--enable Enable plack for the specified instances
--disable Disable plack for the specified instances
--debugger Enable running Plack in debug mode