Bug 35954: Add --status to koha-plack
authorMagnus Enger <magnus@libriotech.no>
Mon, 5 Feb 2024 08:12:29 +0000 (08:12 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 24 May 2024 13:18:31 +0000 (15:18 +0200)
commit85c8d5f10cca4addbba5e43fec941a57ec83dcd3
treebec8e7127e03c90d2d0a76885564a80f0396535e
parentbc8788cf93c452d1b94715af4e84341c072fc704
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>
(cherry picked from commit ccd4738e26ef3c2e40bfa1dc1e74dfdb94a34239)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
debian/docs/koha-plack.xml
debian/scripts/koha-plack