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:
parent
4328f8b33e
commit
817206228a
3 changed files with 9 additions and 9 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue