mirror of
https://github.com/YunoHost-Apps/element_ynh.git
synced 2024-09-03 18:36:08 +02:00
Fix create user before install source
This commit is contained in:
parent
91068d144c
commit
e35402df2e
2 changed files with 6 additions and 6 deletions
|
@ -27,12 +27,12 @@ ynh_app_setting_set $app is_public $is_public
|
|||
ynh_app_setting_set $app default_home_server $default_home_server
|
||||
ynh_app_setting_set $app final_path $final_path
|
||||
|
||||
# Get source and install in source dir
|
||||
install_source
|
||||
|
||||
# Create a system user
|
||||
ynh_system_user_create $app
|
||||
|
||||
# Get source and install in source dir
|
||||
install_source
|
||||
|
||||
# Create a dedicated php-fpm config
|
||||
ynh_add_fpm_config
|
||||
|
||||
|
|
|
@ -14,11 +14,11 @@ domain=$(ynh_app_setting_get $app domain)
|
|||
|
||||
ynh_secure_remove "/var/www/$app"
|
||||
|
||||
# Delete a system user
|
||||
ynh_system_user_delete $app
|
||||
|
||||
# Remove the dedicated php-fpm config
|
||||
ynh_remove_fpm_config
|
||||
|
||||
# Delete a system user
|
||||
ynh_system_user_delete $app
|
||||
|
||||
# Suppression de la configuration nginx
|
||||
ynh_remove_nginx_config
|
||||
|
|
Loading…
Add table
Reference in a new issue