Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to auto-start apache when AIX boot.

199 views
Skip to first unread message

George xu

unread,
Dec 29, 2000, 4:16:27 AM12/29/00
to
Hello:
I want to auto-start apache when AIX boot.
How to do?

ths!


Martin HAMANT

unread,
Dec 29, 2000, 6:47:03 AM12/29/00
to
George xu a écrit :

add a line in /etc/rc.tcpip
--
Martin HAMANT
m...@accelance.fr

Hartwig Bolle

unread,
Dec 29, 2000, 1:45:03 PM12/29/00
to
On Fri, 29 Dec 2000 17:16:27 +0800, "George xu" <rabb...@163.net>
wrote:

put an additionla entry in /etc/inittab.

Hartwig

Ted Linnell

unread,
Dec 29, 2000, 11:05:35 PM12/29/00
to
"George xu" <rabb...@163.net> wrote:

>Hello:
> I want to auto-start apache when AIX boot.
>How to do?
>

In /etc/inittab we have as the last thig a line that runs
/etc/rc.local (our own script).
In rc.local we run scripts to start all our local apps. Generally call
these scripts rc.app_name and they accept a parameter of start or
stop.
If rc.app_name is run with the parameter start it runs the start
commands for the application. It gets the stop parameter it runs the
shutdown commands.


rc.local runs "rc.app_name start" to start the app.

We also have an rc.shutdown script which if it exists will be called
by the shutdown command.
In here we do "rc.app_name stop" to stop the application.

Regards,

Ted.
==============================================================
| Ted Linnell <edli...@zcslink.net.au> |
| BSc GradDipDP CNA MACS PCP |
| Nunawading, Victoria , Australia |
==============================================================

0 new messages