From e35402df2e52f42a2e384ea173e6ff5c5ff5ca68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 6 Feb 2018 20:05:50 +0100 Subject: [PATCH] Fix create user before install source --- scripts/install | 6 +++--- scripts/remove | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index 7742b9b..ee3962e 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/remove b/scripts/remove index 7948fdd..39df17e 100755 --- a/scripts/remove +++ b/scripts/remove @@ -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