Re: [naviserver-devel] Boot up NS with Daemontools supervisor

2016-10-15 Thread Gustaf Neumann
Iuri, you might consider reading: http://openacs.org/forums/message-view?message_id=5334880 -gn Am 15.10.16 um 00:10 schrieb Iuri Sampaio: > Thanks Gustaf, > > The script install.oacs.sh didn't setup NS starting automatically, but > I won't bother debuging it for now. I'll will add one update-rc

Re: [naviserver-devel] Boot up NS with Daemontools supervisor

2016-10-14 Thread Iuri Sampaio
Thanks Gustaf, The script install.oacs.sh didn't setup NS starting automatically, but I won't bother debuging it for now. I'll will add one update-rc.d, to start on boot, plus an upstart script will do the job. Best wishes On 14-10-2016 05:02, Gustaf Neumann wrote: Dear Iuri, One has to us

Re: [naviserver-devel] Boot up NS with Daemontools supervisor

2016-10-14 Thread Gustaf Neumann
Dear Iuri, One has to use probably foreground mode (-f, see http://openacs.org/forums/message-view?message_id=187728) for daemontools. We have not used daemontools for ages, i would not recommend it. The install-oacs.sh script [1] installs either a systemd file for naviserver/openacs, or a

Re: [naviserver-devel] Boot up NS with Daemontools supervisor

2016-10-12 Thread 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 192.199.241.135:80 Best wishes On 12-10-2016 13:52, Cyan

Re: [naviserver-devel] Boot up NS with Daemontools supervisor

2016-10-12 Thread Wolfgang Winkler
Hi! Try the "-i" parameter : -i inittab mode regards, Wolfgang Am 2016-10-12 um 17:59 schrieb Iuri Sampaio: 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 supervisor, it starts to boot up hundre

Re: [naviserver-devel] Boot up NS with Daemontools supervisor

2016-10-12 Thread Cyan Ogilvie
Maybe add -i Cyan 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 supervisor, > it starts to boot up hundreds of NS instances until that it