From 3e3405bf4aebac4db80e11c5456d18d2cac901b1 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 24 Apr 2017 12:54:02 +0200 Subject: k 3 hidden-ssh: wait for irc port --- krebs/3modules/hidden-ssh.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'krebs/3modules') 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)" -- cgit v1.2.3