Last active
August 29, 2015 14:02
-
-
Save gentlecat/4fa6860271db09aba5c2 to your computer and use it in GitHub Desktop.
CritiqueBrainz Sandbox Startup Magic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do /home/gentlecat/critiquebrainz/venv/bin/python /home/gentlecat/critiquebrainz/cb.fcgi & sleep 1200; ps aux | grep cb.fcgi | grep gentlecat | grep -v grep | awk '{print $2}' | xargs kill; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment