Files
darkfi/contrib/runit-init/ircd/run

5 lines
74 B
Bash
Executable File

#!/bin/sh
ping -c 1 -W 1 9.9.9.9 > /dev/null 2>&1 || exit
exec ircd 2>&1