----- Original Message -----
From: Ola Theander <[EMAIL PROTECTED]>
Date: Thursday, April 19, 2001 1:29 pm
Subject: HowTo: Execute a command during boot.

> Dear subscribers.
> 
> I would like to know how to execute a command during boot. I would 
> like to
> start an instance of the Apache web server with the command "apachectl
> start".
> 

You need to update /etc/inittab. See "man/info inittab" for details.
Optionally, you can place your script that contains the command
'apachectl start' in /etc/rc.d/rc5.d/ with the script-name starting
with S. But, I am not aware of what the number stands for in the
script-name.
begin:vcard
n:Dighe;Sanchet
fn:Sanchet Surendra Dighe
tel;work:5525124/25/26-1065
org:WIPRO Technologies;
adr:;;No. 8, 7th Main, 1st Block, Koramangala;Bangalore;Karnataka;560 034;INDIA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Sr. Software Engineer
end:vcard

Reply via email to