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 #=================================================