Add support to sync yunohost group to organisation teams

This commit is contained in:
Josué Tille
2024-02-05 22:45:24 +01:00
parent 8fb1399ab2
commit 5f7b535237
4 changed files with 24 additions and 3 deletions

View File

@ -88,6 +88,7 @@ ynh_systemd_action --service_name="$app" --action=start --log_path="/var/log/$ap
# Add ldap config
ynh_replace_string --match_string=__APP__ --replace_string="$app" --target_file=./login_source.sql
ynh_replace_string --match_string=__GROUP_TEAM_MAP__ --replace_string='""' --target_file=./login_source.sql
ynh_mysql_connect_as "$db_user" "$db_pwd" "$db_name" < ./login_source.sql
# Stop the service to restart it just afterwards