zulip/tools
Zev Benjamin cce8dfab84 [manual] Use the same socket across server restarts
We let supervisor create the socket for us by making humbug-django a
fcig-program.  Unfortunately, supevisor doesn't support putting
fcgi-programs in groups (see
https://github.com/Supervisor/supervisor/issues/148), so we have to
restart tornado and django separately.

To deploy, copy the config files over and restart nginx and
supervisor (via stopping and then starting it because restart is
broken).  I believe the automated restart as part of
update-deployment will fail because of the way supervisor treats
programs in groups.  If so, after restarting supervisor, you will
also need to run restart-server manually to fill the caches and then
delete the lock directory in humbug-deployments.

(imported from commit bfb5db7dd42dcbc4bfefa2944355b3cbb2ef9104)
2013-05-23 00:19:17 -04:00
..
humbug_tools update-deployment: Move constants to humbug_tools 2013-05-17 01:02:34 -04:00
inject-messages Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
jslint Add a wrapper to mixpanel so that we can selectively enable metrics collection 2013-05-21 17:56:49 -04:00
print-all puppet: Move all puppetized config files to the humbug module and reference them with puppet URLs 2013-02-08 16:06:34 -05:00
backup Add tool used for backing up wiki, trac, events. 2013-04-17 10:19:13 -04:00
build-api-tarball Include get_messages call in tarball. 2013-04-18 09:57:53 -07:00
check-all [manual] Excise South migrations prior to the User merge. 2013-05-20 23:29:54 -04:00
clean-branches clean-branches: Print the abbrev SHA for of each deleted ref 2012-11-06 15:45:24 -05:00
clean-repo Add a tool for removing stale *.pyc files 2012-10-12 13:28:09 -04:00
deploy-branch deploy-branch: Check out original ref by name if possible 2013-03-27 14:15:03 -04:00
django-template-graph django-template-graph: Replace slashes with newlines 2012-10-16 01:45:37 -04:00
do-destroy-rebuild-database [manual] Excise South migrations prior to the User merge. 2013-05-20 23:29:54 -04:00
do-destroy-rebuild-test-database [manual] Humbug testing databases now backed by postgres 2013-05-20 23:55:03 -04:00
merge-messages-logs Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
msmtprc.example Add example msmtprc 2012-10-30 15:40:10 -04:00
munge_postgres_logs.pl Make munge_postgres_logs.pl executable 2013-01-29 12:16:32 -05:00
node Add a generic script to run the right Node binary 2013-02-20 16:02:30 -05:00
post-receive post-receive: Don't actually update servers on push to test-post-receive 2013-03-18 17:21:13 -04:00
postgres-init-db postgres-init-db: Auto-detect whether we need to use sudo. 2013-05-22 14:58:43 -04:00
postgres-init-test-db [manual] Humbug testing databases now backed by postgres 2013-05-20 23:55:03 -04:00
purge-deployments Add tool to purge old deployments 2013-05-17 01:02:34 -04:00
restart-server [manual] Use the same socket across server restarts 2013-05-23 00:19:17 -04:00
review review: Send @username syntax rather than @username@humbughq.com 2013-02-05 15:51:22 -05:00
run-dev.py [manual] Add get_events URL routing 2013-03-28 16:48:52 -04:00
test-all test-all: Run frontend tests after backend tests. 2013-04-02 16:27:13 -04:00
test-backend [manual] Humbug testing databases now backed by postgres 2013-05-20 23:55:03 -04:00
update-deployment update-deployment: Purge old deployments after deploy 2013-05-17 01:02:34 -04:00
update-prod-static Add audio folder to update-prod-static. 2013-05-03 15:22:54 -07:00