From af00fbd22b59132b74faccc92b99e9cc8939eb9c Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 12 Aug 2022 02:13:10 +0000 Subject: [PATCH] Bug 21366: Add --reload option to koha-plack help/manual Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- debian/docs/koha-plack.xml | 8 ++++++++ debian/scripts/koha-plack | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/docs/koha-plack.xml b/debian/docs/koha-plack.xml index a9852cd103..06c0309cd7 100644 --- a/debian/docs/koha-plack.xml +++ b/debian/docs/koha-plack.xml @@ -28,6 +28,7 @@ | | | + | | | | @@ -62,6 +63,13 @@ + + + + Reload the Plack daemon for the desired Koha instances, letting the busy workers finish processing their requests before restarting them. + + + diff --git a/debian/scripts/koha-plack b/debian/scripts/koha-plack index 649355bbb7..6fe1860268 100755 --- a/debian/scripts/koha-plack +++ b/debian/scripts/koha-plack @@ -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 -- 2.39.5