Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ `uname` == "Linux" ];then
- node /usr/bin/collector.js 2>&1 >> /var/log/cube/collector.log &
- node /usr/bin/evaluator.js 2>&1 >> /var/log/cube/evaluator.log &
- fi
- if [ `uname` == "Darwin" ];then
- node /opt/local/lib/node_modules/cube/bin/collector.js 2>&1 >> /opt/local/var/log/cube/collector.log &
- node /opt/local/lib/node_modules/cube/bin/evaluator.js 2>&1 >> /opt/local/var/log/cube/evaluator.log &
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement