Skip to content

Commit

Permalink
added
Browse files Browse the repository at this point in the history
  • Loading branch information
gbxyz committed Feb 21, 2024
1 parent ff42682 commit 4156494
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions bin/rootd
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh
export PATH="$PATH:/app:$(dirname "$0")"

update_data()
{
registrars.pl /tmp/registrars &
PID1=$!

root.pl /tmp/tlds &
PID2=$!

wait $PID1 $PID2
}

update_data

rdapd --root &

while true ; do
sleep 3600
update_data
done

wait

0 comments on commit 4156494

Please sign in to comment.