view common.sh @ 18:64eee582fec1

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