We had this issue for discussion earlier on. At 'hydra.nixos.org'
you use non-standard paths for at least 'netstat'. Thus the script
launches 'inetd' as requested, but fails to detect that success.
The two test printouts, close to bottom,
netstat -na
grep '^udp .*7777 '
test 1 -ne 0
are evidence of this. From my point of view the script works for
all sensible UNIX systems, except at NixOS. The discussion we had
earlier was rather animated, but we never got the feedback we need
in order to fix the issue at hand.
But if that was the case, netstat wouldn't be found and there would be
an error message in the log. Here, it looks as if netstat did
execute, but failed to catch 7777 UDP open. We aren't matching on the
file name of inetd, and assuming that netstat is in PATH.