summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/github_listener/listen
blob: c701d14b881322ca45afc2cfbd96905bd79b4d7a (plain)
1
2
3
4
5
6
#!/bin/sh
PORT=${1:-5432}
# eloop pattern
while sleep 1; do
  nc -l -p $PORT -e /krebs/retiolum/bin/create-host-tar && logger "successfully built retiolum hosts tarball"
done