mirror of https://github.com/zulip/zulip.git
puppet: Fixup some humbug => zulip rename issues.
(imported from commit 4d83dc2af380cfbae3a1958f98c671c7e8c58f05)
This commit is contained in:
parent
f9c6b7f2aa
commit
0f2fa7e59a
|
@ -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
|
||||
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
|
||||
priority=600 ; the relative start priority (default 999)
|
||||
autostart=true ; start at supervisord start (default: true)
|
||||
|
|
|
@ -27,9 +27,9 @@ subprocess.check_call(["python", "./manage.py", "fill_memcached_caches"])
|
|||
|
||||
# Restart the FastCGI and related processes via supervisorctl.
|
||||
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(["supervisorctl", "start", "humbug-tornado humbug-django humbug-workers:*"])
|
||||
subprocess.check_call(["supervisorctl", "start", "zulip-tornado zulip-django zulip-workers:*"])
|
||||
|
||||
logging.info("Done!")
|
||||
print OKGREEN + "Application restarted successfully!" + ENDC
|
||||
|
|
Loading…
Reference in New Issue