Mercurial > dotfiles
annotate unixSoft/bin/servehg.sh @ 530:dbb75edda2ff default tip
cleanup: remove ancient distnoted reaper script
Surely this bug has been fixed in the 9+ years that the script has
been run once a minute by cron on my laptop. To my surprise, it looks
like the Migration Assistant even managed to carry it across laptops!
| author | Augie Fackler <raf@durin42.com> |
|---|---|
| date | Sat, 03 Jan 2026 19:12:16 -0500 |
| parents | ef5c69032d20 |
| children |
| rev | line source |
|---|---|
|
41
ef5c69032d20
Multi-hg serving code I seem to use often.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
1 #!/bin/sh |
|
ef5c69032d20
Multi-hg serving code I seem to use often.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
2 PID_PATH=$HOME/unixSoft/hg.pid |
|
ef5c69032d20
Multi-hg serving code I seem to use often.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
3 kill `cat $PID_PATH ` |
|
ef5c69032d20
Multi-hg serving code I seem to use often.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
4 sleep 1 |
|
ef5c69032d20
Multi-hg serving code I seem to use often.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
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=- |
