What you're missing, is that apachectl uses start, stop, etc to control the httpd 
server as it always has.
This is NOT an init.d script, it's virtually the same apachectl they have been using 
for years.

When S85httpd gets run by init it gets passed a "start" argument.
K15 gets passed a "stop" argument.
S = start
K = kill
Standard rcX.d behavior...



Rick.


 -----Original Message-----
From:   Stone, Timothy [mailto:[EMAIL PROTECTED]] 
Sent:   Friday, February 14, 2003 8:39 AM
To:     Redhat-List (E-mail)
Subject:        init/runlevel help needed in RHL 8.

List,

I have read the online RHL docs on this...but can't find the answer.

Previous to RHL 8 (7.3), I had the following symlinks

/etc/rc.d/rc3.d/S85httpd -> /usr/local/apache/bin/apachectl

/etc/rc.d/rc6.d/K15httpd -> /usr/local/apache/bin/apachectl

This allowed me to start my custom built instance of Apache, avoiding the RHL default 
install. Today this setup does not work.

NB: /usr/local/apache -> /usr/local/apache-2.0.44 this symlink is intentional for the 
purpose of rapid apache version switching, if desired.

When I do the following:

% sudo /etc/rc.d/rc3.d/S85httpd

I get the usage response from httpd:

Usage: /usr/local/apache-2.0.44/bin/httpd ...

Now, how I understand it the init directories pass start/stop/restart params to the 
executable in question. If I do the following:

% sudo /etc/rc.d/rc3.d/S85httpd start

It works as intended. What am I missing? Thanks in advance for all help!

Warmest Regards,
Tim

--
/**
 * Timothy Stone      . Sun Certified Java Programmer
 * Web Master         . tstone at cityofhbg dot com
 * City of Harrisburg . 717.255.7297
 * Pennsylvania USA   . 717.903.9162
 *
 * "Censorship always defeats its own purpose,
 *  for it creates in the end the kind of society 
 *  that is incapable of exercising real discretion."
 *  --Henry Steele Commager, Historian
 */



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to