[SATLUG] haldaemon restart at boot

Tweeks tweeksjunk2 at theweeks.org
Wed Nov 18 23:10:11 CST 2009


On Sunday 15 November 2009 10:03:57 pm steve kolars wrote:
> That is kind of the long hand method. How about using chkconfig?
>
> chkconfig haldaemon on

He wasn't trying to turn it on.. but have it turn on last.

Although the turn on order can be modified (in Red Hat systems) by changing 
these lines:

# chkconfig: 345 98 02

The "98" number is the start order.. Change it to 99 to make it start up 
last. :)

Tweeks

> Steve
>
> 2009/11/15 Tweeks <tweeksjunk2 at theweeks.org>:
> > 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
> > --
> > _______________________________________________
> > SATLUG mailing list
> > SATLUG at satlug.org
> > http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
> > Powered by Rackspace (www.rackspace.com)
>
> --
> ()    ascii ribbon campaign - against html e-mail
> /\    www.asciiribbon.org - against proprietary attachments




More information about the SATLUG mailing list