Modify the logs folder

This commit is contained in:
adrien 2021-09-29 23:02:10 +02:00
parent 32405fcdcc
commit 923ba0670b
Signed by: adrien
GPG Key ID: 4F17BEA67707AC21
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ sudo chmod 750 /usr/local/sbin/gitea-updater
Create the logs' directory.
```
sudo mkdir -p /var/log/updater/gitea
sudo mkdir -p /var/log/updater/gitea-updater
```
## Configuration

View File

@ -4,7 +4,7 @@
set -x
# redirect stdout (and stderr to stdout) to a file
exec 1> /var/log/updater/gitea/gitea-$(date +%F).log 2>&1
exec 1> /var/log/updater/gitea-updater/gitea-$(date +%F).log 2>&1
# abort on nonzero exitstatus
set -o errexit