From 77e560559803ca62833a584d13dd3f85851acf5a Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 27 Nov 2013 22:20:11 +0100 Subject: [PATCH] packaging tweaks --- apache/unfold.conf | 6 +++--- debian/unfold.postinst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apache/unfold.conf b/apache/unfold.conf index 61bb49f9..ff3de7f0 100644 --- a/apache/unfold.conf +++ b/apache/unfold.conf @@ -1,6 +1,6 @@ WSGIDaemonProcess unfold processes=2 threads=25 - WSGIProcessGroup unfold + WSGIProcessGroup unfold CustomLog ${APACHE_LOG_DIR}/unfold-access.log common ErrorLog ${APACHE_LOG_DIR}/unfold-error.log WSGIScriptAlias / /usr/share/unfold/apache/unfold.wsgi @@ -25,8 +25,8 @@ # this to be optional on that port - WSGIDaemonProcess myslice-ssl processes=2 threads=25 - WSGIProcessGroup myslice-ssl + WSGIDaemonProcess unfold-ssl processes=2 threads=25 + WSGIProcessGroup unfold-ssl CustomLog ${APACHE_LOG_DIR}/myslice-ssl-access.log common ErrorLog ${APACHE_LOG_DIR}/myslice-ssl-error.log WSGIScriptAlias / /usr/share/unfold/apache/unfold.wsgi diff --git a/debian/unfold.postinst b/debian/unfold.postinst index 77a479e3..2fe651c6 100644 --- a/debian/unfold.postinst +++ b/debian/unfold.postinst @@ -3,9 +3,9 @@ # update-rc.d unfold defaults [ -d /var/unfold ] || mkdir /var/unfold chown -R www-data.www-data /var/unfold +chmod -R 700 /var/unfold /usr/share/unfold/manage.py syncdb /usr/share/unfold/manage.py migrate -chmod 700 /var/unfold/unfold.sqlite3 a2dissite default a2ensite unfold.conf service apache2 restart -- 2.43.0