Mercurial Hosting > hghosting
view common.sh @ 10:a7187a447835
restrict repo names
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Jul 2022 19:40:50 -0600 |
parents | dfc36e7ed22c |
children |
line wrap: on
line source
#!/bin/bash -e ROOTPWD=$(pwd); hgservepid=${ROOTPWD}"/hgserver.pid"; logsdir=${ROOTPWD}"/logs"; templatesdir=${ROOTPWD}"/templates"; hgaccesslog=${logsdir}"/hg_access.log"; servelog=${logsdir}"/serve.log"; nginxonfig=${ROOTPWD}"/nginx.conf"; confdir=${ROOTPWD}"/config"; webconfig=${confdir}"/web.config"; backuphome=${ROOTPWD}"/backup";