This series fixes the issue reported by Gurheet Singh in "Having some problem with instaweb", in that --start/--restart doesn't generate configuration, which is documented: start, --start Start the httpd instance and exit. This does not generate any of the configuration files for spawning a new instance. but unexpected. The first three patches are independent refactoring to make final change smaller and easier to review, thoug they have merit even taken standalone. --- Jakub Narebski (4): git-instaweb: Check that correct config file exists for (re)start git-instaweb: Move all actions at the end of script git-instaweb: Use $conf, not $fqgitdir/gitweb/httpd.conf git-instaweb: Extract web server configuration into configure_httpd Documentation/git-instaweb.txt | 8 ++-- git-instaweb.sh | 84 ++++++++++++++++++++++++++-------------- 2 files changed, 58 insertions(+), 34 deletions(-) -- Jakub Narebski ShadeHawk on #git Poland -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html