Index: openacs-4/packages/acs-core-docs/www/install-openacs-keepalive.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-openacs-keepalive.html,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/acs-core-docs/www/install-openacs-keepalive.html 4 Mar 2004 14:09:22 -0000 1.5 +++ openacs-4/packages/acs-core-docs/www/install-openacs-keepalive.html 18 Apr 2004 11:55:50 -0000 1.5.2.1 @@ -19,6 +19,7 @@ log. A daemontools directory is included in the OpenACS tarball at /var/lib/aolserver/service0/etc/daemontools. To use it, first ill any existing AOLserver instances. As root, link the daemontools directory into the /service directory. Daemontools' svscan process checks this directory every five seconds, and will quickly execute run.
[service0 etc]$ killall nsd nsd: no process killed +[service0 etc]$ emacs /var/lib/aolserver/service0/etc/daemontools/run [service0 etc]$ exit [root root]# ln -s /var/lib/aolserver/service0/etc/daemontools/ /service/service0
Verify that AOLserver is running.
[root root]# ps -auxw | grep nsd @@ -62,6 +63,6 @@ Most of this information comes from Tom Jackson's AOLserver+Daemontools Mini-HOWTO. -Table�6.1.�How it Works
Program Invoked by this program ... ... using this file Where to find errors Log goes to Use these commands to control it svscanboot + Table�6.1.�How it Works
Program Invoked by this program ... ... using this file Where to find errors Log goes to Use these commands to control it svscanboot init /etc/inittab ps -auxw | grep readproctitle n/a � aolserver supervise (a child of svscanboot) /service/service0/run /var/lib/aolserver/service0/log/error.log /var/lib/aolserver/service0/log/service0.log svc -k /service/service0 postgresql Redhat init scripts during boot /etc/init.d/postgresql /usr/local/pgsql/data/server.log � service postgresql start (Red Hat), /etc/init.d/postgresql start (Debian) View comments on this page at openacs.org