summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-04-24 12:54:02 +0200
committerlassulus <lass@lassul.us>2017-04-24 12:54:02 +0200
commit3e3405bf4aebac4db80e11c5456d18d2cac901b1 (patch)
tree82f9a2d5bdb1e48138e64ebcbae7d04ffb5bca13 /krebs
parentb78cc5b52a76953034510a223d608cee76eafbcb (diff)
k 3 hidden-ssh: wait for irc port
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/hidden-ssh.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/krebs/3modules/hidden-ssh.nix b/krebs/3modules/hidden-ssh.nix
index 3930dbf42..304049b4e 100644
--- a/krebs/3modules/hidden-ssh.nix
+++ b/krebs/3modules/hidden-ssh.nix
@@ -38,7 +38,8 @@ let
echo "still waiting for ${hiddenServiceDir}/hostname"
sleep 1
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 \
\#krebs-announce \
"SSH Hidden Service at $(cat ${hiddenServiceDir}/hostname)"