From cf4349d1c19060ac6781db07312f0853054639ac Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Fri, 10 Apr 2020 16:10:58 +0530 Subject: [PATCH] tools: Add script to start database services for WSL. It needs to be run everytime WSL is restarted. --- tools/wsl/start_services | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tools/wsl/start_services diff --git a/tools/wsl/start_services b/tools/wsl/start_services new file mode 100755 index 0000000000..e3151ad693 --- /dev/null +++ b/tools/wsl/start_services @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +set -x +set -e + +# These services are no longer running when WSL is restarted +# and hence they have to be manually started. +sudo service rabbitmq-server start +sudo service memcached start +sudo service redis-server start +sudo service postgresql start