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

            Bug ID: 18617
           Summary: starting plack on reboot can fail on non-standard
                    apache configs
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: System Administration
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

If you have a non-standard Koha apache configuration, for example you have
virtualhosts in separate files instead of all in one file (you might do this if
you were using Let's Encrypt, among other reasons) koha-list --plack --enabled
can fail because it is looking for apache configurations in only one file
(/etc/apache2/sites-available/instance.conf).

I propose to make the check for plack enabled work more like the email enabled,
where we touch a file in /var/lib/koha/instance when the service is enabled,
and remove it when it is disabled. I'm happy to leave the current checking
alone and include this as a bracer to the existing belt.

To do:

edit koha-plack to make enable and disable put a file in /var/lib/koha/instance
called plack.enable

edit koha-functions.sh to include checking for the file as part of
is_plack_enabled

There are probably other things to do as well.

-- 
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