diff --git a/scripts/restore b/scripts/restore index c099db1..994dd54 100644 --- a/scripts/restore +++ b/scripts/restore @@ -148,6 +148,13 @@ fi ynh_app_setting_set --app=$app --key=unicorn_workers --value=$unicorn_workers ynh_systemd_action --service_name=$app --action="start" --log_path="$final_path/log/unicorn.stderr.log" --line_match="INFO -- : worker=$((unicorn_workers-1)) ready" +#================================================= +# RESTORE THE LOGROTATE CONFIGURATION +#================================================= +ynh_print_info --message="Restoring logrotate configuration..." + +ynh_restore_file --origin_path="/etc/logrotate.d/$app" + #================================================= # GENERIC FINALIZATION #=================================================