annotate common.sh @ 20:8b4481769cc6

fix move logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 05 Aug 2024 11:32:22 +0300
parents dfc36e7ed22c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 #!/bin/bash -e
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 ROOTPWD=$(pwd);
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
4 hgservepid=${ROOTPWD}"/hgserver.pid";
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5 logsdir=${ROOTPWD}"/logs";
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
6 templatesdir=${ROOTPWD}"/templates";
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
7 hgaccesslog=${logsdir}"/hg_access.log";
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
8 servelog=${logsdir}"/serve.log";
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
9 nginxonfig=${ROOTPWD}"/nginx.conf";
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
10 confdir=${ROOTPWD}"/config";
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
11 webconfig=${confdir}"/web.config";
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
12 backuphome=${ROOTPWD}"/backup";