---Reply on mail from David Dezern about Running daemons at startup

> When I installed RedHat 5.0, I unchecked the box that would have
> set sendmail to run at startup. Now that I have sendmail configured,
> I would like to change this.
> 
> My impression, from looking at the rc scripts, is that it _ought_
> to start when rc gets to /etc/rc.d/rc2.d/S80sendmail ... but when
> I log in, sendmail is not running.

I think that's /etc/rc.d/rc3.d/S80sendmail you need (assuming you are
starting up in runlevel 3, which you almost certainly are if you're not
sure), which was probably removed because you said you didn't want it
started.  If you're running X, just run tksysv as root.  Click on sendmail
on the list at the left, click "Add", then pick the "Start sendmail" radio
button for runlevel 3.

Alternatively, you can go to /etc/rc.d/rc3.d and type

% ln -s ../init.d/sendmail S80sendmail

which I think will also give you the right results.  I think you also
ought to have the following:

/etc/rc.d/rc0.d/K30sendmail
/etc/rc.d/rc1.d/K30sendmail
/etc/rc.d/rc2.d/S80sendmail
/etc/rc.d/rc4.d/S80sendmail
/etc/rc.d/rc5.d/S80sendmail
/etc/rc.d/rc6.d/K30sendmail

---End reply
--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--

Greg Fall
[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www-personal.engin.umich.edu/~gmfall


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to