From a6b214e81678640d61a0429b03ac23d6c7874b12 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 12 Jan 2021 17:20:47 +0100 Subject: [PATCH] Fix --- scripts/install | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 6874167..ec4bd06 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 --logfile "/etc/logrotate.d/$app" +ynh_use_logrotate --logfile "/var/log/$app" #================================================= # ADD SCRIPT FOR COTURN CRON AND APP SERVICE diff --git a/scripts/restore b/scripts/restore index 98c8b3d..98fe568 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 --logfile "/etc/logrotate.d/$app" +ynh_restore_file --logfile "/var/log/$app" #================================================= # RECONFIGURE THE TURNSERVER