From b26b59e0fcf0476e6785f5196cb57eebdc2cc19e Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 27 May 2020 01:21:24 +0200 Subject: [PATCH] fix upgrade Too many arguments ! "-p" will be ignored. Too many arguments ! "/var/www/lufi/log/production.log" will be ignored. --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index d97f097..a4cfc1c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -190,7 +190,7 @@ if [ $need_migration_from_sqlite_to_psql -eq 1 ]; then fi # Restart with news parameters - ynh_systemd_action -n $app -a restart -l "Creating process id file" -p "$final_path/log/production.log" + ynh_systemd_action --service_name=$app --action="restart" --log_path="$final_path/log/production.log" --line_match="Creating process id file" carton exec script/lufi sqliteToOtherDB fi