Mercurial Hosting > hghosting
annotate common.sh @ 29:f83fbf2b6d4f
block openai scraper
| author | Violet7 |
|---|---|
| date | Tue, 19 May 2026 01:55:47 -0700 |
| parents | dfc36e7ed22c |
| children |
| rev | line source |
|---|---|
| 0 | 1 #!/bin/bash -e |
| 2 | |
| 3 ROOTPWD=$(pwd); | |
| 4 hgservepid=${ROOTPWD}"/hgserver.pid"; | |
| 5 logsdir=${ROOTPWD}"/logs"; | |
| 6 templatesdir=${ROOTPWD}"/templates"; | |
| 7 hgaccesslog=${logsdir}"/hg_access.log"; | |
| 8 servelog=${logsdir}"/serve.log"; | |
| 9 nginxonfig=${ROOTPWD}"/nginx.conf"; | |
| 10 confdir=${ROOTPWD}"/config"; | |
| 11 webconfig=${confdir}"/web.config"; | |
| 12 backuphome=${ROOTPWD}"/backup"; |
