mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
travis + circleci: Start postgresql during provision.
Otherwise, in CircleCI it isn't running when we need it later. Travis must special-case starting it automatically.
This commit is contained in:
@@ -301,6 +301,7 @@ def main(options):
|
|||||||
run(["sudo", "service", "rabbitmq-server", "restart"])
|
run(["sudo", "service", "rabbitmq-server", "restart"])
|
||||||
run(["sudo", "service", "redis-server", "restart"])
|
run(["sudo", "service", "redis-server", "restart"])
|
||||||
run(["sudo", "service", "memcached", "restart"])
|
run(["sudo", "service", "memcached", "restart"])
|
||||||
|
run(["sudo", "service", "postgresql", "restart"])
|
||||||
elif options.is_docker:
|
elif options.is_docker:
|
||||||
run(["sudo", "service", "rabbitmq-server", "restart"])
|
run(["sudo", "service", "rabbitmq-server", "restart"])
|
||||||
run(["sudo", "pg_dropcluster", "--stop", POSTGRES_VERSION, "main"])
|
run(["sudo", "pg_dropcluster", "--stop", POSTGRES_VERSION, "main"])
|
||||||
|
|||||||
Reference in New Issue
Block a user