Bugzilla – Attachment 85562 Details for
Bug 22396
koha-sip script does not start the server correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22396: Make koha-sip set KOHA_HOME and KOHA_CONF correctly
Bug-22396-Make-koha-sip-set-KOHAHOME-and-KOHACONF-.patch (text/plain), 1.34 KB, created by
Tomás Cohen Arazi
on 2019-02-22 15:05:56 UTC
(
hide
)
Description:
Bug 22396: Make koha-sip set KOHA_HOME and KOHA_CONF correctly
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2019-02-22 15:05:56 UTC
Size:
1.34 KB
patch
obsolete
>From 1e8ee7c37f6d8e848e92cb55b68f1fe369e96aa9 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 22 Feb 2019 12:00:35 -0300 >Subject: [PATCH] Bug 22396: Make koha-sip set KOHA_HOME and KOHA_CONF > correctly > >This patch corrects a typo, and exports KOHA_CONF as other scripts do. > >To test: >- Apply this patch >- Run: > $ # in kohadevbox > $ perl misc4dev/cp_debian_files.pl >- Try the new script > $ sudo koha-sip --start kohadev >=> SUCCESS: tail -f /var/log/koha/kohadev/sip* doesn't show fatal errors >anymore >- Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > debian/scripts/koha-sip | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-sip b/debian/scripts/koha-sip >index 0c4f0f89cc..bcc1db8ce2 100755 >--- a/debian/scripts/koha-sip >+++ b/debian/scripts/koha-sip >@@ -64,7 +64,8 @@ start_sip() > if ! is_sip_running $name; then > > adjust_paths_dev_install $name >- export KOHA_CONF PERL5LIB >+ export KOHA_HOME PERL5LIB >+ > if [ "$DEV_INSTALL" = "" ]; then > LIBDIR=$KOHA_HOME/lib > else >@@ -276,6 +277,8 @@ if [ $# -gt 0 ]; then > > if is_instance $name; then > >+ export KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" >+ > case $op in > "start") > start_sip $name >-- >2.20.1
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 22396
:
85562
|
85563