Bug 17261: (followup) Mention the need to start memcached before plack
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 13 Sep 2016 14:33:43 +0000 (11:33 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 2 Nov 2016 10:55:25 +0000 (10:55 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt

index 2a3174d..37bc82e 100644 (file)
             <tr><th scope="row">Memcached: </th>
                 <td>
                     Servers: [% IF memcached_servers %]<span>[% memcached_servers | html %]</span>
-                             [% ELSE %]<span>undefined</span>[% END %]|
+                             [% ELSE %]<span>undefined</span>[% END %] |
                     Namespace: [% IF memcached_namespace %]<span>[% memcached_namespace | html %]</span>
                                [% ELSE %]<span>undefined</span>[% END %] |
                     Status: [% IF memcached_servers %]
-                                [% IF memcached_running %]
-                                    [% IF is_memcached_still_active %]
-                                        <span class="status_ok">running</span>
-                                    [% ELSE %]
-                                        <span class="status_warn">no longer running</span><span>, restart memcached!</span>
-                                    [% END %]
+                                [% IF memcached_running and is_memcached_still_active %]
+                                    <span class="status_ok">running</span>.
                                 [% ELSE %]
-                                    <span class="status_warn">not running</span>
+                                    <span class="status_warn">not running</span>.
+                                    [% IF is_psgi %]
+                                        <span>Remember memcached needs to be started before Plack.</span>
+                                    [% END %]
                                 [% END %]
                             [% ELSE %]
                                 <span>unknown</span>