From: Mohamed Larabi Date: Mon, 23 Sep 2013 15:01:07 +0000 (+0200) Subject: plug myslice into apache in post-install X-Git-Tag: myslice-0.2-4~46 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=cec70f20d09995a8b0ebc38d458f48b5d74a9e22 plug myslice into apache in post-install --- diff --git a/debian/unfold.postinst b/debian/unfold.postinst index b5851088..6da1aee1 100644 --- a/debian/unfold.postinst +++ b/debian/unfold.postinst @@ -1,3 +1,5 @@ #!/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