Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ls/maint-mailinfo-no-inbody' into maint
[gitweb.git]
/
git-instaweb.sh
diff --git
a/git-instaweb.sh
b/git-instaweb.sh
index d96eddbe56783d61304941a134361797c82480e7..80a7f74feabf7e8c7a72e1e2e6c2f233e7ba5d7c 100755
(executable)
--- a/
git-instaweb.sh
+++ b/
git-instaweb.sh
@@
-73,6
+73,11
@@
resolve_full_httpd () {
}
start_httpd () {
+ if test -f "$fqgitdir/pid"; then
+ say "Instance already running. Restarting..."
+ stop_httpd
+ fi
+
# here $httpd should have a meaningful value
resolve_full_httpd