author | Dan McGee <dpmcgee@gmail.com> | |
Wed, 30 Jun 2010 12:29:08 +0000 (07:29 -0500) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Fri, 23 Jul 2010 18:16:05 +0000 (11:16 -0700) | ||
commit | 4bdf85995b5d21fdb085a480d529c8da0314189e | |
tree | 249331648b0637482430466e2f898c900256a748 | tree | snapshot |
parent | 2989f516d54a8d453edefbfe955459d7944aedb5 | commit | diff |
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>
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 | diff | blob | history |