This commit is contained in:
Francois Lesueur 2022-12-23 18:23:33 +01:00
parent d7807b6d58
commit d71c219a1e
3 changed files with 8 additions and 2 deletions

View File

@ -202,6 +202,8 @@ EOF
snster -c /root/snster-kaz -t /root/templates attach kaz-prod -x "${SETUP_MAIL} email add contact3@kaz.sns toto" snster -c /root/snster-kaz -t /root/templates attach kaz-prod -x "${SETUP_MAIL} email add contact3@kaz.sns toto"
snster -c /root/snster-kaz -t /root/templates attach kaz-prod -x "${SETUP_MAIL} email add contact4@kaz.sns toto" snster -c /root/snster-kaz -t /root/templates attach kaz-prod -x "${SETUP_MAIL} email add contact4@kaz.sns toto"
echo -e '#!/bin/sh\nsnster -c /root/snster-kaz start' >> /etc/rc.local
chmod +x /etc/rc.local
echo "########## ********** End Vagrant $(date +%D-%T)" echo "########## ********** End Vagrant $(date +%D-%T)"
) > >(tee ${DebugLog}stdout.log) 2> >(tee ${DebugLog}stderr.log >&2) ) > >(tee ${DebugLog}stdout.log) 2> >(tee ${DebugLog}stderr.log >&2)

View File

@ -1,7 +1,7 @@
[Account: $number] [Account: $number]
domain=kaz.local domain=kaz.local
name=$name@$domainname name=$name@$domainname
account_name=IMAP account_name=$name@$domainname
is_default=1 is_default=1
address=$name@$domainname address=$name@$domainname
organization= organization=
@ -76,7 +76,7 @@ ssl_pop=0
ssl_imap=0 ssl_imap=0
ssl_nntp=0 ssl_nntp=0
ssl_smtp=0 ssl_smtp=0
ssl_certs_auto_accept=0 ssl_certs_auto_accept=1
use_nonblocking_ssl=1 use_nonblocking_ssl=1
in_ssl_client_cert_file= in_ssl_client_cert_file=
out_ssl_client_cert_file= out_ssl_client_cert_file=

View File

@ -64,6 +64,10 @@ fi
# ./kaz.sh # ./kaz.sh
# On démarre au boot
echo -e '#!/bin/sh\n/kaz/bin/container.sh start' >> /etc/rc.local
chmod +x /etc/rc.local
# clear apt cache # clear apt cache
DEBIAN_FRONTEND=noninteractive apt-get autoremove -y DEBIAN_FRONTEND=noninteractive apt-get autoremove -y
DEBIAN_FRONTEND=noninteractive apt-get clean DEBIAN_FRONTEND=noninteractive apt-get clean