X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Funfold.postinst;h=de85dd318ea2eca7e632bb01b68d355ca40dbce8;hb=a148aba915464d91abb7407b99131e11998e984c;hp=b58510885315f536b48854fc4d32f3cfa6e7dcde;hpb=40c38e157618b42b755f920bbf5222e15b5bfe2d;p=myslice.git diff --git a/debian/unfold.postinst b/debian/unfold.postinst index b5851088..de85dd31 100644 --- a/debian/unfold.postinst +++ b/debian/unfold.postinst @@ -1,3 +1,10 @@ #!/bin/bash # if this requires a service to be running, add something like this # update-rc.d unfold defaults +/usr/share/unfold/manage.py syncdb +/usr/share/unfold/manage.py migrate +chmod 777 /usr/share/unfold/myslice.sqlite3 +chmod 777 /usr/share/unfold +a2dissite default +a2ensite myslice.conf +service apache2 restart