git-instaweb: Don't assume Apache executable is named apache2
commit4bdf85995b5d21fdb085a480d529c8da0314189e
authorDan McGee <dpmcgee@gmail.com>
Wed, 30 Jun 2010 12:29:08 +0000 (30 07:29 -0500)
committerEric Wong <normalperson@yhbt.net>
Fri, 23 Jul 2010 18:16:05 +0000 (23 11:16 -0700)
tree249331648b0637482430466e2f898c900256a748
parent2989f516d54a8d453edefbfe955459d7944aedb5
git-instaweb: Don't assume Apache executable is named apache2

On Arch Linux, the executable for the Apache HTTP server keeps
the 'httpd' name and is not named 'apache2'. The path to the
server modules also contains 'httpd' rather than 'apache2'.
Remove some of these assumptions and add the httpd name in where
it may be required. Finally, make some slight style adjustments
to the code we are touching to make it fit the style of the rest
of the script.

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-instaweb.sh