ipsilon / staging: fixes for f36
The wsgi has changed from /usr/libexec/ipsilon/ipsilon.py to /usr/libexec/ipsilon, so adjust wsgi and directory perms to handle that. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
5b5b2c0b4d
commit
6d5911cc3c
1 changed files with 10 additions and 0 deletions
|
@ -20,7 +20,11 @@ RewriteRule ^([a-z0-9_\.-]+)\.id\.fedoraproject\.org/.* /openid/id/$1/ [PT]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
{% if env == "staging" %}
|
||||||
|
WSGIScriptAlias / /usr/libexec/ipsilon
|
||||||
|
{% else %}
|
||||||
WSGIScriptAlias / /usr/libexec/ipsilon/ipsilon.py
|
WSGIScriptAlias / /usr/libexec/ipsilon/ipsilon.py
|
||||||
|
{% endif %}
|
||||||
WSGIDaemonProcess ipsilon user=ipsilon group=ipsilon home=/var/lib/ipsilon/root display-name=ipsilon processes=6 threads=2 maximum-requests=1000
|
WSGIDaemonProcess ipsilon user=ipsilon group=ipsilon home=/var/lib/ipsilon/root display-name=ipsilon processes=6 threads=2 maximum-requests=1000
|
||||||
WSGISocketPrefix run/wsgi
|
WSGISocketPrefix run/wsgi
|
||||||
#WSGIRestrictStdout Off
|
#WSGIRestrictStdout Off
|
||||||
|
@ -36,9 +40,15 @@ WSGIApplicationGroup %{GLOBAL}
|
||||||
WSGIProcessGroup ipsilon
|
WSGIProcessGroup ipsilon
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
|
{% if env == "staging" %}
|
||||||
|
<Directory /usr/libexec>
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
{% else %}
|
||||||
<Directory /usr/libexec/ipsilon>
|
<Directory /usr/libexec/ipsilon>
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<Directory /usr/share/ipsilon>
|
<Directory /usr/share/ipsilon>
|
||||||
Options +SymLinksIfOwnerMatch
|
Options +SymLinksIfOwnerMatch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue