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

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