Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
COPYING | H A D | 24-Mar-2009 | 1.1 KiB | 23 | 17 | |
Makefile.am | H A D | 10-Jan-2012 | 203 | 11 | 6 | |
Makefile.in | H A D | 10-Jan-2012 | 22.6 KiB | 693 | 604 | |
README | H A D | 10-Jan-2012 | 1.1 KiB | 52 | 34 | |
aclocal.m4 | H A D | 09-Jan-2012 | 39.3 KiB | 1,112 | 999 | |
autogen.sh | H A D | 06-Feb-2009 | 441 | 25 | 16 | |
config.h.cmake | H A D | 10-Mar-2009 | 140 | 7 | 5 | |
config.h.in | H A D | 09-Jan-2012 | 2 KiB | 86 | 57 | |
configure | H A D | 09-Jan-2012 | 174.3 KiB | 6,092 | 5,034 | |
configure.ac | H A D | 18-Apr-2011 | 1.7 KiB | 58 | 44 | |
depcomp | H A D | 09-Jan-2012 | 18.2 KiB | 631 | 407 | |
install-sh | H A D | 09-Jan-2012 | 13.3 KiB | 521 | 344 | |
missing | H A D | 09-Jan-2012 | 11.2 KiB | 377 | 281 | |
multiwatch.1 | H A D | 17-Sep-2010 | 1.5 KiB | 51 | 47 | |
multiwatch.c | H A D | 17-Sep-2010 | 7.5 KiB | 311 | 237 |
README
1Description 2----------- 3 4Multiwatch forks multiple instance of one application and keeps them running; 5it is made to be used with spawn-fcgi, so all forks share the same fastcgi 6socket (no webserver restart needed if you increase/decrease the number of 7forks), and it is easier than to setup multiple daemontool supervised instances. 8 9 10Homepage 11-------- 12 13 * http://redmine.lighttpd.net/projects/multiwatch/wiki 14 15 16Usage 17----- 18 19Example for spawning two rails instances: 20 21 #!/bin/sh 22 # run script 23 24 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 25 26More details in the man page. 27 28 29Build dependencies 30------------------ 31 32 * glib >= 2.16.0 (http://www.gtk.org/) 33 * libev (http://software.schmorp.de/pkg/libev.html) 34 * cmake or autotools (for snapshots/releases the autotool generated files are included) 35 36 37Build 38----- 39 40 * snapshot/release with autotools: 41 ./configure 42 make 43 44 * build from git: git://git.lighttpd.net/multiwatch.git 45 * with autotools: 46 ./autogen.sh 47 ./configure 48 make 49 * with cmake (should work with snapshots/releases too) 50 cmake . 51 make 52