1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pluxml_ynh.git synced 2024-09-03 20:16:02 +02:00

Merge branch 'master' into testing

This commit is contained in:
yalh76 2021-08-05 00:54:36 +02:00
commit 0e6db38418
4 changed files with 8 additions and 1 deletions

View file

@ -18,7 +18,6 @@
upgrade=1 from_commit=f618522e430dfcb63e1a5843535cf0da165025f3 upgrade=1 from_commit=f618522e430dfcb63e1a5843535cf0da165025f3
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=0
change_url=1 change_url=1
;;; Options ;;; Options
Email= Email=

0
scripts/install Executable file → Normal file
View file

0
scripts/restore Executable file → Normal file
View file

8
scripts/upgrade Executable file → Normal file
View file

@ -43,6 +43,14 @@ ynh_clean_setup () {
# Exit if an error occurs during the execution of the script # Exit if an error occurs during the execution of the script
ynh_abort_if_errors 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 # STANDARD UPGRADE STEPS
#================================================= #=================================================