There are scripts in the distribution that you can put in the standard "rcX" directories.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Matt > Sent: Friday, October 03, 2003 11:02 AM > To: [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
