[Koha-bugs] [Bug 30684] koha-* scripts --restart should start even when not running

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 18 00:58:00 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30684

Alex Buckley <alexbuckley at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|This enhancement restarts   |This enhancement restarts
      release notes|services if they are not    |services if they are not
                   |running when using the      |running when using the
                   |--restart option for        |--restart option for
                   |koha-plack, koha-indexer,   |koha-plack, koha-indexer,
                   |koha-sip, koha-worker,      |koha-sip, koha-worker,
                   |koha-z3950-responder, and   |koha-z3950-responder, and
                   |koha-zebra . Before this,   |koha-zebra .
                   |if a service was not        |
                   |running an error message    |An example
                   |was generated (Error:       |of a message if plack is
                   |{servicename} not running   |not running and the service
                   |for ${instancename}") and a |is restarted:
                   |start command for the       |koha-plack
                   |service was required.
      |--restart kohadev
                   |                            |[warn]
                   |Example of message if plack |Plack not running for
                   |is not running and the      |kohadev. ... (warning).
                   |service is restarted:
      |[
                   |                            |ok ] Starting Plack daemon
                   |koha-plack --restart        |for kohadev:.
                   |kohadev
                    |
                   |  Plack not running         |Previously
                   |for kohadev.:Starting Plack |if a service was not
                   |daemon for kohadev:.        |running an error message
                   |                            |was generated (Error:
                   |                            |{servicename} not running
                   |                            |for ${instancename}") and a
                   |                            |start command for the
                   |                            |service was required.

--- Comment #32 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
(In reply to Jonathan Druart from comment #30)
> Alex, try 'log_warning_msg' for the "not running" warning.

Thanks Jonathan. Is that follow-up any better now?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list