diff --git a/check_process b/check_process index 98d6a69..603e7e6 100644 --- a/check_process +++ b/check_process @@ -18,7 +18,6 @@ upgrade=1 from_commit=f618522e430dfcb63e1a5843535cf0da165025f3 backup_restore=1 multi_instance=1 - port_already_use=0 change_url=1 ;;; Options Email= diff --git a/scripts/install b/scripts/install old mode 100755 new mode 100644 diff --git a/scripts/restore b/scripts/restore old mode 100755 new mode 100644 diff --git a/scripts/upgrade b/scripts/upgrade old mode 100755 new mode 100644 index ddf1c7a..2c44578 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -43,6 +43,14 @@ ynh_clean_setup () { # Exit if an error occurs during the execution of the script ynh_abort_if_errors +#================================================= +# CREATE DEDICATED USER +#================================================= +ynh_script_progression --message="Making sure dedicated system user exists..." + +# Create a dedicated user (if not existing) +ynh_system_user_create --username=$app --home_dir="$final_path" + #================================================= # STANDARD UPGRADE STEPS #=================================================