From 13286776f18725f790e9015a89b1cda40a575923 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sun, 19 Feb 2023 21:25:44 +0100 Subject: [PATCH] Fix install + upgrade --- scripts/install | 3 +++ scripts/upgrade | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/scripts/install b/scripts/install index 34b09cb..d89d281 100755 --- a/scripts/install +++ b/scripts/install @@ -10,6 +10,9 @@ source _common.sh source /usr/share/yunohost/helpers +admin_mail=$(ynh_user_get_info --username=$admin --key=username) +key=$(ynh_string_random --length=32) + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 1b4c054..df7ad2c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -108,13 +108,6 @@ ynh_systemd_action --service_name="${app}-beat" --action="start" --log_path="sys ynh_systemd_action --service_name="${app}-server" --action="start" --log_path="systemd" --line_match="Booting worker with pid" ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="systemd" --line_match="ready" -#================================================= -# RELOAD NGINX -#================================================= -ynh_script_progression --message="Reloading NGINX web server..." --weight=1 - -ynh_systemd_action --service_name=nginx --action=reload - #================================================= # END OF SCRIPT #=================================================