Forum OpenACS Q&A: Response to Daemontools problems and nsd not dying

Collapse
Posted by Gilbert Wong on

Lars,

I use the -i option and do not get multiple nsd processes and aolserver generates the normal log files. Here is the command I use in my daemontools run file (freebsd 4.x, AOLServer 3.4):

#!/bin/sh

exec /usr/local/aolserver/bin/nsd -it /usr/local/aolserver/openacs-4.tcl -u nsadmin -g nsadmin 2>&1

Then again, when I run the script in the foreground, I am also able to kill the server with control-C. When I use "svc -d openacs-4", it might take some time before the server shuts down and sometimes I will need to use "svc -t openacs-4" to kill the remaining threads.