#!/bin/bash

KAZ_ROOT=$(cd $(dirname $0)/../..; pwd)
. "${KAZ_ROOT}/bin/.commonFunctions.sh"
setKazVars

cd $(dirname $0)
. "${DOCKERS_ENV}"

DockerServName="${sympaServName}"

checkDockerRunning "${DockerServName}" "Sympa" || exit

printKazMsg "\n  *** Premier lancement de Sympa"

# docker exec "${DockerServName}" bash -c "DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sympa || echo ok"

# Création de liste ne fonctionne pas...
# /usr/lib/sympa/bin/sympa_soap_client.pl --soap_url=https://listes.kaz.sns/sympasoap --trusted_application=sympa --trusted_application_password=xxxx --proxy_vars=USER_EMAIL=listmaster@listes.kaz.sns --service=createList --service_parameters='taoto,Test,discussion_list,Test,test'