1 #!/bin/sh
2
3 REPO_DIR=/usr/hg/wrttools/
4 LOG_DIR=/var/log/mercurial
5 HG_CMD=/usr/local/bin/hg
6
7 cd $REPO_DIR
8 ${HG_CMD} serve -d -A ${LOG_DIR}/accesslog$$ -E ${LOG_DIR}/errorlog$$
9 # ${HG_CMD} serve