diff options
Diffstat (limited to '')
-rwxr-xr-x | rerun.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,9 @@ #!/usr/bin/env bash { - socat -L'lock' 'UNIX-LISTEN:./s2s' 'OPENSSL:irc.andrewyu.org:7005' & + socat -L'lock' 'UNIX-LISTEN:./s2s,fork' 'OPENSSL:irc.andrewyu.org:7005' & + while ! [ -S ./s2s ]; do + sleep 0.1 + done start=`date -u +%s` ./haxserv uptime=$((`date -u +%s` - $start)) |