Add ugly workaround for #3
This commit is contained in:
parent
1f0f8ee451
commit
fcfbafa129
@ -103,6 +103,9 @@ mkdir /etc/nginx/apps-available /etc/nginx/apps-enabled
|
|||||||
cp ${SOURCE_DIR}/basic/etc/nginx/nginx.conf /etc/nginx/nginx.conf
|
cp ${SOURCE_DIR}/basic/etc/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||||
cp ${SOURCE_DIR}/basic/etc/nginx/sites-available/default /etc/nginx/sites-available/default
|
cp ${SOURCE_DIR}/basic/etc/nginx/sites-available/default /etc/nginx/sites-available/default
|
||||||
|
|
||||||
|
# Workaround for web2py shutdown problem, see https://github.com/web2py/web2py/issues/1769
|
||||||
|
sed -i 's|QUIT/30|QUIT/5|' /usr/share/uwsgi/init/specific_daemon
|
||||||
|
|
||||||
# Copy Portal resources
|
# Copy Portal resources
|
||||||
cp -r ${SOURCE_DIR}/basic/srv/portal /srv/portal
|
cp -r ${SOURCE_DIR}/basic/srv/portal /srv/portal
|
||||||
chown -R www-data:www-data /srv/portal
|
chown -R www-data:www-data /srv/portal
|
||||||
|
Loading…
Reference in New Issue
Block a user