[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reboot, autoload server
On Oct 1, 12:15am, Mike Nicholas wrote:
> Subject: Reboot, autoload server
> Is there a procedure (when a server reboots as in power interruption) to
> have it automatically load, login as root, and run a server program to allow
> users to then again access it? RH 5.x
Yes, each server usually has a script in /etc/rc.d/init.d/. There are
runcontrol directories for each runlevel (say /etc/rc.d/rc3.d for runlevel 3)
that contains symlinks to scripts in /etc/rc.d/init.d for each service you want
to start in the given runlevel.