Just link /etc/rc.d/rc5.d/S55apache to /usr/local/apache/bin/apachectl, for
example.  By default, the init scripts will run ~/rc5.d/S55apache with a
'start' argument.

Make sure to add an ~/rc0.d/K55apache & ~/rc6.d/K55apache, which will get a
'stop' argument.

Marco
----- Original Message -----
From: "Bob Hartung" <[EMAIL PROTECTED]>
To: "redhat-list" <[EMAIL PROTECTED]>
Sent: Monday, October 16, 2000 12:58 PM
Subject: starting apache


> Hi,
>   I am making progress.  Apache, postgresql installed.  Now
> trying to make apache autostart on boot.  I could place a
> line in rc.local something like:
>
>    /usr/local/apache/bin/apachectl start
>
>
>   but is there a way to place a file in init.d and then link
> to it from rc5.d?
>
>   As I said, progress is progress for a newbie, but it is
> soooooooo slow.
>
>
> Thanks again to all who have helped!
>
> Bob Hartung
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to