Change the log managment (also for fail2ban support)

This commit is contained in:
Josué Tille
2019-08-05 16:51:46 +02:00
parent c734163ed7
commit 9e2c149643
5 changed files with 28 additions and 5 deletions

View File

@ -51,7 +51,7 @@ config_nginx
config_gitea
# RELOAD services
ynh_systemd_action -l "Gitea v$upstream_version built with GNU Make .*, go.* : bindata, sqlite, sqlite_unlock_notify" -p "systemd" -a restart -t 5
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "/var/log/$app/gitea.log" -a restart
sleep 1
# Store the checksum with the 'INTERNAL_TOKEN' value.