Skip to content

Instantly share code, notes, and snippets.

@bhang
Forked from duggan/install.sh
Last active December 15, 2015 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhang/5228216 to your computer and use it in GitHub Desktop.
Save bhang/5228216 to your computer and use it in GitHub Desktop.
#!/bin/bash
NICKNAME="bhangm"
# Setup Supervisor
echo "[program:warrior]
command=run-pipeline --concurrent 2 /home/ubuntu/yahoomessages-grab/pipeline.py $NICKNAME
numprocs=1" \
> /etc/supervisor/conf.d/warrior.conf
/etc/init.d/supervisor stop
/etc/init.d/supervisor start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment