Openacs and daemontools
-----------------------

OpenACS daemon can be controlled using daemontools instead of the init.d script. To do that, follow the next steps: 

1) Change the "RUN_DAEMON" value to "no" on /etc/aolserver4/conf.d/openacs.sh to disable the init.d script.

2) Restart the aolserver daemon (/etc/init.d/aolserver4 restart)

3) Link daemontools openacs script ( ln -s /usr/share/openacs/etc/daemontools /etc/service/openacs ).

Now you can control the openacs service using the svc command:

* To start the service: svc -u /etc/service/openacs.
* To stop the service: svc -d /etc/service/openacs.
* To restart the service: svc -t /etc/service/openacs.

For more info, please check the svc command man page.
