diff --git a/scripts/install b/scripts/install index 280b99f..49c2c78 100644 --- a/scripts/install +++ b/scripts/install @@ -340,7 +340,7 @@ ynh_store_file_checksum --file="$coturn_config_path" #================================================= ynh_script_progression --message="Configuring log rotation..." --weight=2 -ynh_use_logrotate "/var/log/matrix-$app" +ynh_use_logrotate --logfile "/var/log/matrix-$app" #================================================= # ADD SCRIPT FOR COTURN CRON diff --git a/scripts/restore b/scripts/restore index 89d963f..7073f1c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -221,7 +221,7 @@ python3 ../settings/conf/add_sso_conf.py || ynh_die --message="Your file /etc/ss #================================================= ynh_script_progression --message="Configuring log rotation..." -ynh_use_logrotate /var/log/matrix-$app +ynh_use_logrotate --logfile /var/log/matrix-$app #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index a763bc9..df3332e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -244,7 +244,7 @@ then # MAKE A CLEAN LOGROTATE CONFIG #================================================= - ynh_use_logrotate /var/log/matrix-$app --non-append + ynh_use_logrotate --logfile /var/log/matrix-$app --non-append fi #=================================================