k 3 hidden-ssh: wait for irc port

This commit is contained in:
lassulus 2017-04-24 12:54:02 +02:00
parent b78cc5b52a
commit 3e3405bf4a

View File

@ -38,7 +38,8 @@ let
echo "still waiting for ${hiddenServiceDir}/hostname" echo "still waiting for ${hiddenServiceDir}/hostname"
sleep 1 sleep 1
done done
${pkgs.irc-announce}/bin/irc-announce \ ${pkgs.untilport}/bin/untilport irc.freenode.org 6667 && \
${pkgs.irc-announce}/bin/irc-announce \
irc.freenode.org 6667 ${config.krebs.build.host.name}-ssh \ irc.freenode.org 6667 ${config.krebs.build.host.name}-ssh \
\#krebs-announce \ \#krebs-announce \
"SSH Hidden Service at $(cat ${hiddenServiceDir}/hostname)" "SSH Hidden Service at $(cat ${hiddenServiceDir}/hostname)"