Mercurial > dotfiles
comparison unixSoft/bin/servehg.sh @ 41:ef5c69032d20
Multi-hg serving code I seem to use often.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Thu, 05 Feb 2009 23:43:28 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
40:94604a37503a | 41:ef5c69032d20 |
---|---|
1 #!/bin/sh | |
2 PID_PATH=$HOME/unixSoft/hg.pid | |
3 kill `cat $PID_PATH ` | |
4 sleep 1 | |
5 hg serve --prefix /hg/ --webdir-conf $HOME/unixSoft/etc/hgwebdir.conf -p 9000 --pid-file $PID_PATH --style monoblue -d --config web.contact=- --config web.description=- |