plug myslice into apache in post-install
authorMohamed Larabi <mohamed.larabi@inria.fr>
Mon, 23 Sep 2013 15:01:07 +0000 (17:01 +0200)
committerMohamed Larabi <mohamed.larabi@inria.fr>
Mon, 23 Sep 2013 15:01:07 +0000 (17:01 +0200)
debian/unfold.postinst

index b585108..6da1aee 100644 (file)
@@ -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