packaging tweaks
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 27 Nov 2013 21:20:11 +0000 (22:20 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 27 Nov 2013 21:20:11 +0000 (22:20 +0100)
apache/unfold.conf
debian/unfold.postinst

index 61bb49f..ff3de7f 100644 (file)
@@ -1,6 +1,6 @@
 <VirtualHost *:80>
        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
 
 <VirtualHost *:443>
-       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
index 77a479e..2fe651c 100644 (file)
@@ -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