This isn't the daemontools list.... Install daemontools, it puts a line in /etc/inittab that makes it run at boot. If you want some details, mail me directly, as this discussion certainly doesn't belong on this list.
Andreas On Fri, 3 Oct 2003, Matt wrote: > Date: Fri, 3 Oct 2003 11:01:54 -0500 > From: Matt <[EMAIL PROTECTED]> > Reply-To: "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> > Subject: Re: Starting Radius > > Yes but how do you tell Daemontools to do this when the Linux box boots up? > All the Linux applications I have installed before that need to run on > startup such as MailScanner did this for me. > > Matt > > > I use daemontools for most of these applications. Its a little strange at > > first, but I have not found anything that keeps a daemon alive more > > reliably. Just make sure the command line in your 'run' file does not > > background the process, or daemontools will think the process has died and > > will try to respawn. You will need to give radiusd the '-s' flag to do > > this. > > > > Andreas > > > > On Fri, 3 Oct 2003, Matt wrote: > > > > > Date: Fri, 3 Oct 2003 01:33:16 -0500 > > > From: Matt <[EMAIL PROTECTED]> > > > Reply-To: "[EMAIL PROTECTED]" > > > <[EMAIL PROTECTED]> > > > To: "[EMAIL PROTECTED]" > > > <[EMAIL PROTECTED]> > > > Subject: Starting Radius > > > > > > How do I go about setting up freeRadius so it automatically loads when > the > > > linux box boots up? Also, is there a script I can run every few minutes > to > > > see if the "users" file has changed and if so restart freeRadius? > > > > > > Matt > > > > > > > > > > Alright, I figured that one out. It was not running so I could not > kill > > > it. > > > > A simple additional question though. If a user is not in the users > file I > > > > do not want them authenticated even if they use root and the root > password > > > > on the linux box. How do I do that? I think it has something to do > with > > > > default but there are so many examples of default in users file I am > not > > > > sure where to begin. > > > > > > > > Matt > > > > > > > > > > > > > Why won't it die? > > > > > > > > > > [root raddb]# radiusd > > > > > Thu Oct 2 22:55:19 2003 : Info: Starting - reading configuration > files > > > > ... > > > > > [root raddb]# > > > > > [root raddb]# kill -9 `cat /var/run/radiusd/radiusd.pid` > > > > > cat: /var/run/radiusd/radiusd.pid: No such file or directory > > > > > [root raddb]# > > > > > > > > > > Matt > > > > > > > > > > > > > > > > > - > > > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html > > > > > > > - > > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html > > > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
