• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

COPYINGH A D24-Mar-20091.1 KiB2317

Makefile.amH A D10-Jan-2012203 116

Makefile.inH A D10-Jan-201222.6 KiB693604

READMEH A D10-Jan-20121.1 KiB5234

aclocal.m4H A D09-Jan-201239.3 KiB1,112999

autogen.shH A D06-Feb-2009441 2516

config.h.cmakeH A D10-Mar-2009140 75

config.h.inH A D09-Jan-20122 KiB8657

configureH A D09-Jan-2012174.3 KiB6,0925,034

configure.acH A D18-Apr-20111.7 KiB5844

depcompH A D09-Jan-201218.2 KiB631407

install-shH A D09-Jan-201213.3 KiB521344

missingH A D09-Jan-201211.2 KiB377281

multiwatch.1H A D17-Sep-20101.5 KiB5147

multiwatch.cH A D17-Sep-20107.5 KiB311237

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