X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=debian%2Funfold.postinst;h=2fe651c697ae7d906357a5f3ef6c216cf75140d1;hp=77a479e31f026c9cd31b5d721198394df620d372;hb=77e560559803ca62833a584d13dd3f85851acf5a;hpb=c622863d98f57c1cfdaf12789c41644f51dd828b 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