On Wed, 15 May 2002, Justin Erenkrantz wrote: > > How many problems does it cause? Having to give gdb a different name > > is a problem (minor), but how many others are there? > > ps and other process utilities won't filter on httpd. ps -C httpd, > pkill -HUP httpd would all fail if the binary isn't called httpd. > > Perhaps we could so some sort of transformation for binbuilds that > only adds the httpd.bin to those distributions. -- justin
Hmmm... don't like inconsistency in distributions. What about - Incorporate the restart stuff into httpd - Make apachectl a simple shell script that just sets up the environment and calls httpd - Encourage everyone to use apachectl This makes it much clearer that there is a binary (httpd) that needs to be used for ps/pkill/gdb, and a seperate control program. It also solves the problem that the current apachectl is over-complicated and confusing to some users. Problems with current apachectl include: - there are two sets of command line options: httpd and apachectl, and it is difficult to tell which ones go where - apachectl needs to know the location of the pid file, and users don't understand they need to edit this when they change their configuration Joshua.
