From c2649d4e92965ab8304dd9bbbb75accc09e8b15b Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 14 Aug 2018 05:05:23 -0400 Subject: [PATCH] Update announcer.j2 --- roles/openvpn/templates/announcer.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/openvpn/templates/announcer.j2 b/roles/openvpn/templates/announcer.j2 index 8e3a01353..d9020b7e1 100755 --- a/roles/openvpn/templates/announcer.j2 +++ b/roles/openvpn/templates/announcer.j2 @@ -18,11 +18,12 @@ if [ -f /etc/iiab/uuid ]; then UUID=`cat /etc/iiab/uuid` fi -# start the daemon which will serve the handle on demand SERVER=/usr/bin/ncat ID=`printf "HANDLE = %s|UUID = %s" $HANDLE $UUID` -{% if is_debuntu %} #ID=`printf "HANDLE = %s|UUID = %s|" $HANDLE $UUID` + +# start the daemon which will serve the handle on demand +{% if is_debuntu %} $SERVER -l -k -p1705 --exec "/bin/echo $ID" & {% else %} source /etc/init.d/functions