Bugzilla – Attachment 93244 Details for
Bug 23700
Fix output of koha-plack --restart
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23700 - Fix output of koha-plack --restart
Bug-23700---Fix-output-of-koha-plack---restart.patch (text/plain), 1.39 KB, created by
Magnus Enger
on 2019-09-30 13:09:53 UTC
(
hide
)
Description:
Bug 23700 - Fix output of koha-plack --restart
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2019-09-30 13:09:53 UTC
Size:
1.39 KB
patch
obsolete
>From efbcbbcef1c4246a9762514cc44621a2a8790c60 Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@libriotech.no> >Date: Mon, 30 Sep 2019 15:01:35 +0200 >Subject: [PATCH] Bug 23700 - Fix output of koha-plack --restart > >To test: >- Run "sudo koha-plack restart kohadev" and verify the output is > out of line. >- Apply the patch >- If you are on e.g. kohadevbox you need to copy koha-plack to > /usr/sbin/ thus: > sudo cp debian/scripts/koha-plack /usr/sbin/koha-plack >- Run "sudo koha-plack restart kohadev" again and check that you > get two lines of output, nicely aligned with the "OK" inside the > square brackets. >--- > debian/scripts/koha-plack | 9 +-------- > 1 file changed, 1 insertion(+), 8 deletions(-) > >diff --git a/debian/scripts/koha-plack b/debian/scripts/koha-plack >index b14bac5f9f..e541d44178 100755 >--- a/debian/scripts/koha-plack >+++ b/debian/scripts/koha-plack >@@ -162,14 +162,7 @@ restart_plack() > local PIDFILE="/var/run/koha/${instancename}/plack.pid" > > if is_plack_running ${instancename}; then >- >- log_daemon_msg "Restarting Plack daemon for ${instancename}" >- >- if stop_plack $instancename && start_plack $instancename; then >- log_end_msg 0 >- else >- log_end_msg 1 >- fi >+ stop_plack $instancename && start_plack $instancename > else > log_daemon_msg "Error: Plack not running for ${instancename}" > log_end_msg 1 >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23700
:
93244
|
93344
|
94409