Mercurial > dotfiles
view unixSoft/bin/servehg.sh @ 221:6aad20d9fcb0
emacs gui: move gui initialization code to a function
Given the weirdness observed in gui init with daemon mode,
this should make life with daemon mode easier.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 07 Sep 2010 19:33:23 -0500 |
parents | ef5c69032d20 |
children |
line wrap: on
line source
#!/bin/sh PID_PATH=$HOME/unixSoft/hg.pid kill `cat $PID_PATH ` sleep 1 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=-