X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Funfold.postinst;h=c762a570b23db926caddc8e434dc4dd1acf4b794;hb=c829c67fd8c775bdee9a39f7d2534374173f7f2a;hp=b58510885315f536b48854fc4d32f3cfa6e7dcde;hpb=40c38e157618b42b755f920bbf5222e15b5bfe2d;p=unfold.git diff --git a/debian/unfold.postinst b/debian/unfold.postinst index b5851088..c762a570 100644 --- a/debian/unfold.postinst +++ b/debian/unfold.postinst @@ -1,3 +1,6 @@ #!/bin/bash # if this requires a service to be running, add something like this # update-rc.d unfold defaults + +[ -f /etc/apache2/apache2.conf ] && echo "WSGIScriptAlias / /usr/share/unfold/apache/myslice.wsgi" >> /etc/apache2/apache2.conf +service apache2 restart