1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

file garradin_migration failed and end bash fi

This commit is contained in:
rodinux 2023-01-15 16:41:11 +01:00
parent 349dff22fc
commit 11f0705d29
2 changed files with 3 additions and 0 deletions

2
conf/garradin_migrations Normal file
View file

@ -0,0 +1,2 @@
/$final_path
/etc/nginx/conf.d/$domain.d/$app.conf

View file

@ -80,6 +80,7 @@ if [[ $migration_process -eq 1 ]]; then
ynh_system_user_delete --username="$old_app" ynh_system_user_delete --username="$old_app"
useradd -d "$final_path" --system --user-group "$app" || \ useradd -d "$final_path" --system --user-group "$app" || \
ynh_die --message "Unable to create $app system account" ynh_die --message "Unable to create $app system account"
fi
#================================================= #=================================================
# STANDARD UPGRADE STEPS # STANDARD UPGRADE STEPS