From a44196906a1b49acfa5da4068e5722fd293154f1 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 11 Apr 2021 20:13:36 +0200 Subject: [PATCH] Fix yunohost: error: unrecognized arguments --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index b5767f4..d5ec815 100644 --- a/scripts/install +++ b/scripts/install @@ -335,7 +335,7 @@ ynh_use_logrotate --logfile="$final_path/log/production.log" #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="$final_path/log/unicorn.stderr.log" "$final_path/log/unicorn.stdout.log" "$final_path/log/production.log" +yunohost service add $app --log "$final_path/log/unicorn.stderr.log" "$final_path/log/unicorn.stdout.log" "$final_path/log/production.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index 6a2a2e1..cf162bc 100644 --- a/scripts/restore +++ b/scripts/restore @@ -122,7 +122,7 @@ systemctl enable $app.service --quiet #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="$final_path/log/unicorn.stderr.log" "$final_path/log/unicorn.stdout.log" "$final_path/log/production.log" +yunohost service add $app --log "$final_path/log/unicorn.stderr.log" "$final_path/log/unicorn.stdout.log" "$final_path/log/production.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 1a915b8..634e1e4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -388,7 +388,7 @@ ynh_use_logrotate --logfile="$final_path/log/production.log" #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="$final_path/log/unicorn.stderr.log" "$final_path/log/unicorn.stdout.log" "$final_path/log/production.log" +yunohost service add $app --log "$final_path/log/unicorn.stderr.log" "$final_path/log/unicorn.stdout.log" "$final_path/log/production.log" #================================================= # START SYSTEMD SERVICE