summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/github_listener/listen
blob: 30f0c4b596888b6177dd41645aad54b09216bd7a (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
PORT=${1:-5432}
# eloop pattern
cd $(dirname $(readlink -f $0))
while sleep 1; do
  nc -lvv -p $PORT -e ./handle_request && logger "successfully built retiolum hosts tarball"

done