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

--- Comment #1 from Liz Rea <[email protected]> ---
Created attachment 63493
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63493&action=edit
Bug 18617 - starting plack on reboot can fail on non-standard apache configs

To test:
apply this patch
copy debian/scripts/koha-functions.sh to /usr/share/koha/bin
copy debian/scripts/koha-plack to /usr/sbin

create a dummy instance if you need to (koha-create --create-db whatever)
enable plack - koha-plack --enable whatever
check for existence of /var/lib/koha/whatever/plack.enabled
do a koha-list --enabled --plack and your instance should be listed as enabled.
rename your /etc/apache2/sites-available/whatever.conf to something else
do a koha-list --enabled --plack - it should still be enabled
do a koha-plack --disable whatever - it should remove
/var/lib/koha/whatever/plack.enabled
do a koha-list --enabled --plack - it should not be listed.

Note:
This does not deal with the issue of disabling plack not doing the right thing
for config files that are not "/etc/apache2/sites-available/whatever.conf" -
this only ensures that koha-list --enabled and --disabled reports correctly in
that circumstance.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to