[PLUG] Starting a POE server at startup

Paul Heinlein heinlein at madboa.com
Tue Jan 9 22:16:48 UTC 2007


On Tue, 9 Jan 2007, Roderick A. Anderson wrote:

> This is for a Redhat-ian ( Redhat, CentOS, Whitebox, Fedora, etc. ) 
> system using the SYSV init process.
> 
> I have a POE server I'd like automagically started when the system 
> comes up.  What is the preferred method for doing this?
> 
> Actually I have no problem creating an init.d script but since this 
> simple server doesn't do a lot of fancy stuff at start-up ( capture 
> it's and write its pid and so forth ) I thought there might be a 
> better way.
> 
> Searches of the web tune up nothing and the POE site doesn't get 
> into this.

If you aren't going to be starting and stopping this server with any 
regularity, the easiest way to start a process at boot time is adding 
a line or two to /etc/rc.d/rc.local. A process started that way won't 
start/stop when you change runlevels, but it'll always be there after 
bootup.

-- 
Paul Heinlein <> heinlein at madboa.com <> www.madboa.com



More information about the PLUG mailing list