1
0
mirror of https://github.com/balkian/Web4.0.git synced 2024-11-05 08:41:43 +00:00
Web4.0/hookio/hooks/runAllHooks.sh
2012-05-25 13:16:10 +02:00

13 lines
202 B
Bash
Executable File

#!/bin/bash
for i in $(ls `npm bin`/hookio-* 2> /dev/null)
do
echo running $i
nodejs $i &
done
for i in `ls | grep "hook.io-" 2>/dev/null`
do
echo running $i
nodejs $i/index.js &
done
wait