diff --git a/scripts/install b/scripts/install index 0dfd7f7..6874167 100755 --- a/scripts/install +++ b/scripts/install @@ -220,7 +220,7 @@ ynh_store_file_checksum --file="$final_path/data/ice-servers.json" #================================================= ynh_script_progression --message="Configuring log rotation..." --weight=1 -ynh_use_logrotate --origin_path="/etc/logrotate.d/$app" +ynh_use_logrotate --logfile "/etc/logrotate.d/$app" #================================================= # ADD SCRIPT FOR COTURN CRON AND APP SERVICE diff --git a/scripts/restore b/scripts/restore index 426eb8d..98c8b3d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -116,7 +116,7 @@ yunohost service add coturn-$app --needs_exposed_ports $turnserver_tls_port # RESTORE THE LOGROTATE CONFIGURATION #================================================= -ynh_restore_file --origin_path="/etc/logrotate.d/$app" +ynh_restore_file --logfile "/etc/logrotate.d/$app" #================================================= # RECONFIGURE THE TURNSERVER