[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using rc to start a webserver





On Sun, 3 Sep 2000, Saad KADHI wrote:

> Hello
> 
> > I'm hoping someone can help me with starting my webserver (not Xitami) at
> > bootup.
> > The script that I'd use under Linux doesn't look like it'll work at all,
> > and looking through the rc man page doesn't help much.
> 
> you can put some shell scripting to startup the webserver @ the end of
> /etc/rc.local or create a custom file and call it from rc.conf (there is a
> parameter for that).
> 
> HTH
> 
> --
> Saad KADHI -- Security Engineer
> ---------------------------------
> perl -e 'print ($myself=pack(c2,unpack(c,EOF)-3,(((hex(0x666)/6)-666)/2)-66+4),
> pack(c3,((int(exp(666)/10e287)+int(log(666)*2))*2)+10,int(crypt(ski,72)),oct(12)));'

What I'm concerned about is what is passed to rc.local when a shutdown is
issued, or when a start-up happens. It doesn't appear that the rc files
deal only with startup, and they don't seem to follow the Linux directive
of start/stop/restart.

So I could stick something in that may start regardless. A system shutdown
occurs, and it starts another webserver, which isn't desireable. If you
could tell me what is going to be passed during reboots, and cold starts
I'd be set.

Thanks,
Chris