Created
August 29, 2014 02:01
-
-
Save knktc/8a2097bf9e3b34592ae0 to your computer and use it in GitHub Desktop.
redash updater start script for 0.4
This file contains 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
description "re:dash updater" | |
chdir /opt/redash/current | |
setuid redash | |
kill signal TERM | |
respawn | |
respawn limit 10 5 | |
start on started network-services | |
stop on stopping network-services | |
script | |
bin/run celery worker --app=redash.worker --beat -Qqueries,celery,scheduled_queries | |
end script |
This file contains 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
description "re:dash web" | |
chdir /opt/redash/current | |
setuid redash | |
kill signal INT | |
respawn | |
respawn limit 10 5 | |
start on started network-services | |
stop on stopping network-services | |
script | |
bin/run gunicorn -b 127.0.0.1:5000 --name redash -w 4 redash.wsgi:app | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment