Last change
on this file since 674 was
562,
checked in by djay, 10 years ago
|
Fix keywords settings with svn propset svn:keywords 'HeadURL Date Author Id Rev'
|
-
Property svn:keywords set to
HeadURL Date Author Id Rev
|
File size:
1.4 KB
|
Line | |
---|
1 | .. _services-status: |
---|
2 | |
---|
3 | How To Use ZOO Status Service |
---|
4 | =============================== |
---|
5 | |
---|
6 | :Authors: Luca Delucchi |
---|
7 | :Last Updated: $Date: 2015-02-09 15:26:31 +0000 (Mon, 09 Feb 2015) $ |
---|
8 | |
---|
9 | *ZOO Status Service* is a utility of ZOO-Project to return the |
---|
10 | completion percent of your service. |
---|
11 | |
---|
12 | Install ZOO Status Service |
---|
13 | ----------------------------- |
---|
14 | |
---|
15 | To install the ``ZOO Status Service`` you have to move in |
---|
16 | ``/path/to/zoo/source/zoo-services/utils/status/`` and compile the source |
---|
17 | running the ``make`` command. |
---|
18 | If no errors are returned during compilation you can copy the content of ``cgi-env`` |
---|
19 | to ``/usr/lib/cgi-bin/`` or where you have your ``zoo_loader.cgi`` working with this |
---|
20 | command (you need administration right): |
---|
21 | |
---|
22 | :: |
---|
23 | |
---|
24 | cp /path/to/zoo/source/zoo-services/utils/status/cgi-env/*{zcfg,zo,py} /usr/lib/cgi-bin |
---|
25 | |
---|
26 | With this command you copy the code to permit to ``ZOO Status Service`` and some |
---|
27 | example processes about how it works. |
---|
28 | |
---|
29 | Now you have to add these two lines to ``main.cfg`` : |
---|
30 | |
---|
31 | :: |
---|
32 | |
---|
33 | rewriteUrl=call |
---|
34 | dataPath=/var/www/data |
---|
35 | |
---|
36 | Here you define the path where the service is able to find the xsl file, specified in the dataPath |
---|
37 | parameter. You also tell the ZOO Kernel that you want to use the `rewriteUrl <../kernel/install-debian.html#rewrite-rule-configuration>`_. |
---|
38 | |
---|
39 | The last operation is to copy the ``updateStatus.xsl`` to ``dataPath`` directory as follow: |
---|
40 | |
---|
41 | :: |
---|
42 | |
---|
43 | cp /path/to/zoo/source/zoo-services/utils/status/cgi-env/*{xsl} /var/www/data |
---|
Note: See
TracBrowser
for help on using the repository browser.