1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/horde_ynh.git synced 2024-09-03 19:16:08 +02:00

Fix logrotate

This commit is contained in:
yalh76 2022-08-30 23:27:00 +02:00
parent 4328f8b33e
commit 817206228a
3 changed files with 9 additions and 9 deletions

View file

@ -218,9 +218,9 @@ set_permission
#================================================= #=================================================
ynh_script_progression --message="Configuring log rotation..." ynh_script_progression --message="Configuring log rotation..."
ynh_use_logrotate $final_path/horde --nonappend --specific_user www-data/horde ynh_use_logrotate --logfile="$final_path/horde" --nonappend --specific_user www-data/horde
ynh_use_logrotate $final_path/horde/services --append --specific_user www-data/horde ynh_use_logrotate --logfile="$final_path/horde/services" --specific_user www-data/horde
ynh_use_logrotate $final_path/horde/services/portal --append --specific_user www-data/horde ynh_use_logrotate --logfile="$final_path/horde/services/portal" --specific_user www-data/horde
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT

View file

@ -115,9 +115,9 @@ set_permission
#================================================= #=================================================
ynh_script_progression --message="Restoring the logrotate configuration..." ynh_script_progression --message="Restoring the logrotate configuration..."
ynh_use_logrotate $final_path/horde --nonappend --specific_user www-data/horde ynh_use_logrotate --logfile="$final_path/horde" --nonappend --specific_user www-data/horde
ynh_use_logrotate $final_path/horde/services --append --specific_user www-data/horde ynh_use_logrotate --logfile="$final_path/horde/services" --specific_user www-data/horde
ynh_use_logrotate $final_path/horde/services/portal --append --specific_user www-data/horde ynh_use_logrotate --logfile="$final_path/horde/services/portal" --specific_user www-data/horde
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -130,9 +130,9 @@ set_permission
#================================================= #=================================================
ynh_script_progression --message="Upgrading logrotate configuration..." ynh_script_progression --message="Upgrading logrotate configuration..."
ynh_use_logrotate $final_path/horde --nonappend --specific_user www-data/horde ynh_use_logrotate --logfile="$final_path/horde" --nonappend --specific_user www-data/horde
ynh_use_logrotate $final_path/horde/services --append --specific_user www-data/horde ynh_use_logrotate --logfile="$final_path/horde/services" --specific_user www-data/horde
ynh_use_logrotate $final_path/horde/services/portal --append --specific_user www-data/horde ynh_use_logrotate --logfile="$final_path/horde/services/portal" --specific_user www-data/horde
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX