mirror of https://github.com/zulip/zulip.git
restart-server: Call fill_memcached_caches via more direct path.
The previous version ended up being (at least sometimes) wrong after the recent deployment system changes. (imported from commit dec3beb1b1bf8b9c9ad6820b93b0a5d730d020e8)
This commit is contained in:
parent
350cf79ba0
commit
6ab480d9c6
|
@ -37,8 +37,7 @@ except:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|
||||||
logging.info("Refilling memcached caches")
|
logging.info("Refilling memcached caches")
|
||||||
subprocess.check_call(["python", os.path.join(os.path.dirname(__file__), "..", "manage.py"),
|
subprocess.check_call(["python", "./manage.py", "fill_memcached_caches"])
|
||||||
"fill_memcached_caches"])
|
|
||||||
|
|
||||||
logging.info("Done!")
|
logging.info("Done!")
|
||||||
print OKGREEN + "Application restarted successfully!" + ENDC
|
print OKGREEN + "Application restarted successfully!" + ENDC
|
||||||
|
|
Loading…
Reference in New Issue