Bug 35954: Add --status to koha-plack
authorMagnus Enger <magnus@libriotech.no>
Mon, 5 Feb 2024 08:12:29 +0000 (08:12 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 3 May 2024 17:31:56 +0000 (19:31 +0200)
commitccd4738e26ef3c2e40bfa1dc1e74dfdb94a34239
tree15e63a970559debea7ccad5fed7f43ad824db32a
parent3b2c2b127032d9b26e49026a240bca3e0c280cf6
Bug 35954: Add --status to koha-plack

This adds a --status switch to the koha-plack command.

To test on ktd:
- Copy the script to /usr/sbin, so you run the modified script,
  and not the one installed by Koha:
  $ sudo cp debian/scripts/koha-plack /usr/sbin/
- Stop and start Plack for kohadev like so:
  $ sudo koha-plack --stop kohadev
  $ sudo koha-plack --start kohadev
  And make sure this reports the correct status, both when Plack
  is running and when it is not running:
  $ sudo koha-plack --status kohadev
- Make sure --status is mentioned here:
  $ sudo koha-plack --help
- See https://wiki.koha-community.org/wiki/Testing_man_pages for
  details on how to check the manual page for the command

Signed-off-by: Tadeusz Sośnierz <tadeusz@sosnierz.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
debian/docs/koha-plack.xml
debian/scripts/koha-plack