mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
Replace python2.7 by python everywhere.
This commit is contained in:
committed by
Tim Abbott
parent
149938d468
commit
94e4b39112
@@ -21,10 +21,10 @@ if pwd.getpwuid(os.getuid())[0] != "zulip":
|
||||
sys.exit(1)
|
||||
|
||||
# Send a statsd event on restarting the server
|
||||
subprocess.check_call(["python2.7", "./manage.py", "send_stats", "incr", "events.server_restart", str(int(time.time()))])
|
||||
subprocess.check_call(["python", "./manage.py", "send_stats", "incr", "events.server_restart", str(int(time.time()))])
|
||||
|
||||
logging.info("Filling memcached caches")
|
||||
subprocess.check_call(["python2.7", "./manage.py", "fill_memcached_caches"])
|
||||
subprocess.check_call(["python", "./manage.py", "fill_memcached_caches"])
|
||||
|
||||
# Restart the FastCGI and related processes via supervisorctl.
|
||||
logging.info("Stopping workers")
|
||||
|
||||
Reference in New Issue
Block a user