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:
parent
2589a962f1
commit
69630e37ed
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue