1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

fix logrotate

This commit is contained in:
Thomas 2024-09-01 15:39:22 +02:00 committed by GitHub
parent 2589a962f1
commit 69630e37ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -23,6 +23,9 @@ ynh_script_progression "Configuring logrotate to manage application logfiles"
# Use logrotate to manage application logfile(s)
ynh_config_add_logrotate
touch /var/log/$app/$app.log
touch /var/log/$app/${app}_workers.log
chown -R $app:www-data /var/log/$app/
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE

View file

@ -15,6 +15,9 @@ ynh_script_progression "Configuring logrotate to manage application logfiles"
# Use logrotate to manage application logfile(s)
ynh_config_add_logrotate
touch /var/log/$app/$app.log
touch /var/log/$app/${app}_workers.log
chown -R $app:www-data /var/log/$app/
#=================================================
# RESTORE THE NGINX CONFIGURATION