aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-08-04 19:21:20 +0200
committerGitHub <noreply@github.com>2019-08-04 19:21:20 +0200
commit8dc3494bfef5b9d27b63168b18018e7ae64f27b2 (patch)
treef890363cde1b5196ede6381426ec84885b9a27d1 /scripts/restore
parent6c7a10d5c3e97751d105b30de3d7c0f5ff5d4e88 (diff)
parentf265a66e5231d298f8a2dffd91e1f2a51da52429 (diff)
downloadmastodon_ynh-8dc3494bfef5b9d27b63168b18018e7ae64f27b2.tar.gz
mastodon_ynh-8dc3494bfef5b9d27b63168b18018e7ae64f27b2.tar.bz2
mastodon_ynh-8dc3494bfef5b9d27b63168b18018e7ae64f27b2.zip
Merge pull request #170 from YunoHost-Apps/ldap_local
removing dedicated ldap user creation
Diffstat (limited to 'scripts/restore')
-rw-r--r--scripts/restore9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/restore b/scripts/restore
index 89e2430..59e71fc 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -35,8 +35,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
db_user=$app
db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd)
-ldap_user=$(ynh_app_setting_get --app=$app --key=ldap_user)
-ldap_password=$(ynh_app_setting_get --app=$app --key=ldap_password)
#=================================================
# CHECK IF THE APP CAN BE RESTORED
@@ -92,13 +90,6 @@ ynh_install_app_dependencies $pkg_dependencies
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
#=================================================
-# CREATING LDAP USER
-#=================================================
-ynh_script_progression --message="Creating LDAP user..." --weight=424
-
-yunohost user create $ldap_user --firstname "SvcMastodonLdap" --lastname "SvcMastodonLdap" --mail ${ldap_user}@$domain --password $ldap_password -q 0
-
-#=================================================
# INSTALLING RUBY AND BUNDLER
#=================================================
ynh_script_progression --message="Installing Ruby..." --weight=393