add move logs while restart
author |
Vadim Filimonov <fffilimonov@yandex.ru> |
date |
Wed, 19 Jun 2024 11:45:10 +0300 |
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";
|