[Koha-devel] Bug 30684: Requesting community feedback on change to restart behaviour of koha-* scripts

Alex Buckley alexbuckley at catalyst.net.nz
Fri May 20 06:11:18 CEST 2022


Kia ora Koha community,

I'd love to hear your thoughts please on adding the following behaviour
across all koha-* scripts when passing the --restart parameter:

1. If the service is not running

2. You run sudo koha-<service> --restart <instancename> , e.g. sudo
koha-plack --restart kohadev

3. Koha stops the service, then starts it

*Context*

Bug 30684 was initially written to resolve the below error that is
thrown when you try restarting plack, if it's not already running:

/[FAIL] Error: Plack not running for <instancename>: failed!/

However, as Marcel noted the error is thrown by design: If you didn't
start it, you cannot restart it.

So it would be better to stop and then start the service. Also to ensure
this change was consistent, it should be implemented in all koha-*
scripts, not just koha-plack.

Is everyone happy for this change to be implemented in all koha-* scripts?

Thanks,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220520/80daba67/attachment.htm>


More information about the Koha-devel mailing list