Dear Iuri,

One has to use probably foreground mode (-f, see for daemontools. We have not used daemontools for ages, i would not recommend it.

The script [1] installs either a systemd file for naviserver/openacs, or an upstart file (or both) depending on the system it is running on. if for some reason, you do not want to run the script, fill in the variables manually. This way, naviserver/openacs can be started/restarted/... like all other system services.

all the best


Am 12.10.16 um 19:00 schrieb Iuri Sampaio:
Thanks Cyan,

Good that you mentioned it, but I tried after I've sent the email. Both have the same behavior.

sleep 4
exec /usr/local/ns/bin/nsd -it /usr/local/ns/iurix.tcl -u iurix -g web -b <>

Best wishes

On 12-10-2016 13:52, Cyan Ogilvie wrote:
Maybe add -i


On Wed, Oct 12, 2016 at 5:59 PM, Iuri Sampaio < <>> wrote:

    Hi there,

    In order to get NS to start automatically, I installed
    daemontools (i.e.
    debian server - apt-get install). However, when I start the
    it starts to boot up hundreds of NS instances until that it eats
    up all
    the memory and crashes the whole server. My intuition tells that
    a problem with apt-get installation but I'm still digging in. The
    is a simple line as bellow:

    sleep 4
    exec /usr/local/ns/bin/nsd -t /usr/local/ns/iurix.tcl -u iurix -g
    web -b <>

    How do I setup NS automatically start supervisor correctly?

    Best wishes

Check out the vibrant tech community on one of the world's most 
engaging tech sites,!
naviserver-devel mailing list

Reply via email to