puppet: Fixup some humbug => zulip rename issues.

(imported from commit 4d83dc2af380cfbae3a1958f98c671c7e8c58f05)
This commit is contained in:
Tim Abbott 2013-10-08 07:46:24 -04:00 committed by Steve Howell
parent f9c6b7f2aa
commit 0f2fa7e59a
2 changed files with 3 additions and 3 deletions

View File

@ -126,7 +126,7 @@ redirect_stderr=true ; redirect proc stderr to stdout (default false)
stdout_logfile=/var/log/zulip/events-missedmessage_reminders.log ; stdout log path, NONE for none; default AUTO stdout_logfile=/var/log/zulip/events-missedmessage_reminders.log ; stdout log path, NONE for none; default AUTO
directory=/home/zulip/deployments/current/ directory=/home/zulip/deployments/current/
[program:humbug-events-slowqueries] [program:zulip-events-slowqueries]
command=python /home/zulip/deployments/current/manage.py process_queue slow_queries command=python /home/zulip/deployments/current/manage.py process_queue slow_queries
priority=600 ; the relative start priority (default 999) priority=600 ; the relative start priority (default 999)
autostart=true ; start at supervisord start (default: true) autostart=true ; start at supervisord start (default: true)

View File

@ -27,9 +27,9 @@ subprocess.check_call(["python", "./manage.py", "fill_memcached_caches"])
# Restart the FastCGI and related processes via supervisorctl. # Restart the FastCGI and related processes via supervisorctl.
logging.info("Killing daemons") logging.info("Killing daemons")
subprocess.check_call(["supervisorctl", "stop", "humbug-workers:* humbug-django humbug-tornado"]) subprocess.check_call(["supervisorctl", "stop", "zulip-workers:* zulip-django zulip-tornado"])
subprocess.check_call(["ln", '-nsf', deploy_path, os.path.join(DEPLOYMENTS_DIR, "current")]) subprocess.check_call(["ln", '-nsf', deploy_path, os.path.join(DEPLOYMENTS_DIR, "current")])
subprocess.check_call(["supervisorctl", "start", "humbug-tornado humbug-django humbug-workers:*"]) subprocess.check_call(["supervisorctl", "start", "zulip-tornado zulip-django zulip-workers:*"])
logging.info("Done!") logging.info("Done!")
print OKGREEN + "Application restarted successfully!" + ENDC print OKGREEN + "Application restarted successfully!" + ENDC