forked from noisytoot/rubyserv-iirc
e939637c99
This reverts commit 8fb7f0bc0d
.
11 lines
166 B
Bash
Executable file
11 lines
166 B
Bash
Executable file
#!/usr/bin/env bash
|
|
{
|
|
start=`date -u +%s`
|
|
./haxserv
|
|
uptime=$((`date -u +%s` - $start))
|
|
if (($uptime < 10)); then
|
|
sleep $((10 - $uptime))
|
|
fi
|
|
|
|
exec "$0" "$@"
|
|
}
|