diff --git a/scripts/install b/scripts/install index 574d9f6..cd81d32 100755 --- a/scripts/install +++ b/scripts/install @@ -101,7 +101,7 @@ ynh_system_user_create --username="$app" --home_dir="$final_path" --use_shell #================================================= # PIP INSTALLATION #================================================= -ynh_script_progression --message="Install Django-For-Runners using PIP..." --weight=80 +ynh_script_progression --message="Install project via pip..." --weight=80 python3 -m venv "${final_path}/venv" chown -R "$app" "$final_path" @@ -231,7 +231,7 @@ then fi #================================================= -# Start django-for-runners via systemd +# Start pyinventory via systemd #================================================= ynh_script_progression --message="Starting Django-For-Runners's services..." --weight=5 diff --git a/scripts/upgrade b/scripts/upgrade index de258ac..812acb7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -83,10 +83,9 @@ ynh_script_progression --message="Configuring a systemd service..." ynh_add_systemd_config --service="$app" --template="for_runners.service" #================================================= -# UPGRADE PYINVENTORY +# UPGRADE VENV #================================================= - -ynh_script_progression --message="Install django-for-runners using PIP..." --weight=15 +ynh_script_progression --message="Upgrade project via pip..." --weight=80 python3 -m venv "${final_path}/venv" chown -R "$app" "$final_path" @@ -199,7 +198,7 @@ chown -R "$app" "$public_path" chown -R "$app" "$final_path" #================================================= -# Start django-for-runners via systemd +# Start pyinventory via systemd #================================================= ynh_script_progression --message="Starting Django-For-Runners's services..." --weight=5