@@ -1,3 +1,3 @@
#!/bin/bash
-fw_depends nginx mono
+fw_depends nginx mono xsp
@@ -22,6 +22,7 @@ def start(args, logfile, errfile):
# fastcgi
for port in range(9001, 9001 + args.max_threads):
+ # /usr/local/bin/fastcgi-mono-server4
subprocess.Popen("MONO_OPTIONS=--gc=sgen fastcgi-mono-server4 /applications=/:. /socket=tcp:127.0.0.1:" + str(port) + " &", shell=True, cwd="aspnet", stderr=errfile, stdout=logfile)
return 0
except subprocess.CalledProcessError:
@@ -1,12 +1,14 @@
-RETCODE=$(fw_exists xsp)
+RETCODE=$(fw_exists xsp.installed)
[ ! "$RETCODE" == 0 ] || { return 0; }
fw_depends mono
-git clone --depth 1 git://github.com/mono/xsp
+git clone git://github.com/mono/xsp
cd xsp
git checkout 8a31bc625727594d42f94173768bee5cf8afd0a4
-./autogen.sh --prefix=/usr/local
+./autogen.sh --prefix=$IROOT/xsp-install
make
-sudo make install
+make install
+
+touch $IROOT/xsp.installed