Mercurial Hosting > hghosting
diff common.sh @ 0:dfc36e7ed22c
init
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Thu, 12 May 2022 13:51:59 +0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common.sh Thu May 12 13:51:59 2022 +0400 @@ -0,0 +1,12 @@ +#!/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";