annotate common.sh @ 28:cfedb3f6cbac
default tip
prevent infinite .0s at end of log backup filenames
| author |
Violet7 |
| date |
Mon, 23 Feb 2026 18:08:44 -0800 |
| 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";
|