[PATCH 0/4] git-instaweb: Improving handling of --start/--restart
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 23, 2011, 19:50 UTC
- Message-ID
- <20110623194624.18265.82482.stgit@localhost.localdomain>
- In-Reply-To
- <201106232129.22137.jnareb@gmail.com>
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_httpdDocumentation/git-instaweb.txt | 8 ++-- git-instaweb.sh | 84 ++++++++++++++++++++++++++-------------- 2 files changed, 58 insertions(+), 34 deletions(-)
-- Jakub Narebski ShadeHawk on #git Poland