zulip/tools
acrefoot 9d8f847fed [manual] Run server using supervisord
This change will make it so that processes related to the app.humbughq.com
server are run under supervisord, which uses a state machine model to ensure
that programs are running. It also ensure process startup order.

We will need to manually switch the old way of running server (in screen) into
this new way of doing things, on both staging and prod (app_frontend.pp has been
updated appropriately). This means:
1) cp servers/puppet/modules/humbug/files/supervisord/conf.d/humbug.conf /etc/supervisord/conf.d
2) installing the supervisor package.
3) killing those while loops in that screen session
4) mkdir /var/log/humbug (as root)
5) /etc/init.d/supervisord start
6) check that nothing broke

(imported from commit 055269a70973db89acd69049e01b185fabdc8f90)
2013-05-20 23:42:28 -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 Extracted model code out to unread.js. 2013-05-20 23:42:11 -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
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 Give create db permissions to humbug postgres user 2013-03-12 12:51:12 -04:00
purge-deployments Add tool to purge old deployments 2013-05-17 01:02:34 -04:00
restart-server [manual] Run server using supervisord 2013-05-20 23:42:28 -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 test-backend: Don't pass --skip-generate to testing system by default. 2013-04-02 16:27:12 -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