[SATLUG] haldaemon restart at boot

Tweeks tweeksjunk2 at theweeks.org
Sun Nov 15 21:47:52 CST 2009


On Saturday 14 November 2009 03:06:51 pm Samuel Leon wrote:
> John Choate wrote:
> > I want haldaemon to automatically restart after the system boots, but
> > before the user logs in. What is the best method to do that?
> >
> > John C.
>
> You could try adding the command to /etc/rc.local
> Stuff in there usually gets run after everything else on startup.

You could also move the runlevel's S-link toward the end of that run level's 
ordering... Although, it's already toward the end of the runleve lstart list 
on RHEL5 (CentOS5 actually):

# ls -1 /etc/rc.d/rc5.d/S*
/etc/rc.d/rc5.d/S02lvm2-monitor
/etc/rc.d/rc5.d/S04readahead_early
/etc/rc.d/rc5.d/S05kudzu
/etc/rc.d/rc5.d/S06cpuspeed
/etc/rc.d/rc5.d/S08ip6tables
/etc/rc.d/rc5.d/S08iptables
/etc/rc.d/rc5.d/S10network
/etc/rc.d/rc5.d/S10restorecond
/etc/rc.d/rc5.d/S11auditd
/etc/rc.d/rc5.d/S12syslog
/etc/rc.d/rc5.d/S13irqbalance
/etc/rc.d/rc5.d/S13mcstrans                       
/etc/rc.d/rc5.d/S13portmap
/etc/rc.d/rc5.d/S14nfslock
/etc/rc.d/rc5.d/S15mdmonitor
/etc/rc.d/rc5.d/S18rpcidmapd
/etc/rc.d/rc5.d/S19rpcgssd
/etc/rc.d/rc5.d/S22messagebus
/etc/rc.d/rc5.d/S25bluetooth
/etc/rc.d/rc5.d/S25netfs
/etc/rc.d/rc5.d/S25pcscd
/etc/rc.d/rc5.d/S26apmd
/etc/rc.d/rc5.d/S26hidd
/etc/rc.d/rc5.d/S44acpid
/etc/rc.d/rc5.d/S55cups
/etc/rc.d/rc5.d/S55sshd
/etc/rc.d/rc5.d/S56xinetd
/etc/rc.d/rc5.d/S65dovecot
/etc/rc.d/rc5.d/S78spamassassin
/etc/rc.d/rc5.d/S80sendmail
/etc/rc.d/rc5.d/S85gpm
/etc/rc.d/rc5.d/S85httpd
/etc/rc.d/rc5.d/S90crond
/etc/rc.d/rc5.d/S95anacron                                  
/etc/rc.d/rc5.d/S95atd
/etc/rc.d/rc5.d/S95saslauthd
/etc/rc.d/rc5.d/S96readahead_later
/etc/rc.d/rc5.d/S97yum-updatesd
/etc/rc.d/rc5.d/S98haldaemon <-----------------------
/etc/rc.d/rc5.d/S98mailman
/etc/rc.d/rc5.d/S99firstboot
/etc/rc.d/rc5.d/S99local
/etc/rc.d/rc5.d/S99smartd

Tweeks


More information about the SATLUG mailing list