URI: 
       Use ii native tls. - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit b0ed3eec1b089e20e0e370d9f2fb3828de473fe6
   DIR parent 0b40cdabd01e90ea614605fc00819fefa30b1a76
  HTML Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Tue,  9 Mar 2021 21:07:43 +0100
       
       Use ii native tls.
       
       Diffstat:
         M annna-start-main                    |      18 ++++++++++--------
       
       1 file changed, 10 insertions(+), 8 deletions(-)
       ---
   DIR diff --git a/annna-start-main b/annna-start-main
       @@ -1,5 +1,7 @@
        #!/bin/sh
        
       +set -x
       +
        export PATH="$PATH:/home/annna/bin"
        
        # #bitreich is a forward to #bitreich-en. Annna does not need to join it.
       @@ -21,18 +23,18 @@ cd $HOME/irc
        rm -f "$HOME/irc/${server}/sock"
        
        # Connect
       -socat openssl:${server}:6697,keepalive,keepcnt=5,keepidle=1,keepintvl=1 \
       -        unix-l:$HOME/irc/${server}/sock &
       -while [ ! -e $HOME/irc/${server}sock ];
       -do
       -        [ -z "$(pgrep socat)" ] && exit 1
       -        sleep 0.5
       -done
       +#socat openssl:${server}:6697,keepalive,keepcnt=5,keepidle=1,keepintvl=1 \
       +#        unix-l:$HOME/irc/${server}/sock &
       +#while [ ! -e $HOME/irc/${server}sock ];
       +#do
       +#        [ -z "$(pgrep socat)" ] && exit 1
       +#        sleep 0.5
       +#done
        
        # Connection
        export ircuser="$(sed -n 's/^user //p' $HOME/irc/${server}/irc-credentials.txt)"
        export ircpass="$(sed -n 's/^pass //p' $HOME/irc/${server}/irc-credentials.txt)"
       -ii -s "${server}" -u $HOME/${server}/sock -n "$ircuser" -k ircpass \
       +ii -s "${server}" -t -s "${server}" -p 6697 -n "$ircuser" -k ircpass \
                -f "Annna Robert-Houdin" &
        
        ## Waiting for the socket to be available.