Revision 096b3206
IHMs: placement systématique du socket WSGI dans /var/run (portabilité)
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@6897 b22e2e97-25c9-44ff-b637-2e5ceca36478
deployment/vigigraph.conf.in | ||
---|---|---|
4 | 4 |
|
5 | 5 |
<IfModule mod_wsgi.c> |
6 | 6 |
|
7 |
WSGISocketPrefix /var/run/wsgi |
|
7 | 8 |
WSGIRestrictStdout off |
8 | 9 |
WSGIPassAuthorization on |
9 | 10 |
WSGIDaemonProcess vigigraph user=apache group=apache processes=2 |
pkg/vigigraph.redhat.spec | ||
---|---|---|
31 | 31 |
|
32 | 32 |
%prep |
33 | 33 |
%setup -q |
34 |
# A cause des permissions sur /var/log/httpd sur Red Hat |
|
35 |
sed -i -e '/<IfModule mod_wsgi\.c>/a WSGISocketPrefix run/wsgi' deployment/%{module}.conf.in |
|
36 | 34 |
|
37 | 35 |
%build |
38 | 36 |
|
pkg/vigigraph.rhel6.spec | ||
---|---|---|
25 | 25 |
|
26 | 26 |
%prep |
27 | 27 |
%setup -q |
28 |
# A cause des permissions sur /var/log/httpd sur Red Hat |
|
29 |
sed -i -e '/<IfModule mod_wsgi\.c>/a WSGISocketPrefix run/wsgi' deployment/%{module}.conf.in |
|
30 | 28 |
|
31 | 29 |
%build |
32 | 30 |
|
Also available in: Unified diff