aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2012-01-10 22:14:45 +0100
committerStefan Bühler <stbuehler@web.de>2012-01-10 22:14:45 +0100
commitd23de523a615ee29c14aa65296e90a3c7d4cd0f6 (patch)
tree07482fc91bdcd990028a6e99188318d21842945f
parent184406ceab55b13d7eb342fa4fd4d3dce290b0bb (diff)
downloadmultiwatch-1.0.0.tar.gz
multiwatch-1.0.0.zip
-rw-r--r--README51
1 files changed, 51 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..f12cf18
--- /dev/null
+++ b/README
@@ -0,0 +1,51 @@
+Description
+-----------
+
+Multiwatch forks multiple instance of one application and keeps them running;
+it is made to be used with spawn-fcgi, so all forks share the same fastcgi
+socket (no webserver restart needed if you increase/decrease the number of
+forks), and it is easier than to setup multiple daemontool supervised instances.
+
+
+Homepage
+--------
+
+ * http://redmine.lighttpd.net/projects/multiwatch/wiki
+
+
+Usage
+-----
+
+Example for spawning two rails instances:
+
+ #!/bin/sh
+ # run script
+
+ exec spawn-fcgi -n -s /tmp/fastcgi-rails.sock -u www-rails -U www-data -- /usr/bin/multiwatch -f 2 -- /home/rails/public/dispatch.fcgi
+
+More details in the man page.
+
+
+Build dependencies
+------------------
+
+ * glib >= 2.16.0 (http://www.gtk.org/)
+ * libev (http://software.schmorp.de/pkg/libev.html)
+ * cmake or autotools (for snapshots/releases the autotool generated files are included)
+
+
+Build
+-----
+
+ * snapshot/release with autotools:
+ ./configure
+ make
+
+ * build from git: git://git.lighttpd.net/multiwatch.git
+ * with autotools:
+ ./autogen.sh
+ ./configure
+ make
+ * with cmake (should work with snapshots/releases too)
+ cmake .
+ make