tools: Add script to start database services for WSL.

It needs to be run everytime WSL is restarted.
This commit is contained in:
Aman Agrawal 2020-04-10 16:10:58 +05:30 committed by Tim Abbott
parent 888214196c
commit cf4349d1c1
1 changed files with 10 additions and 0 deletions

10
tools/wsl/start_services Executable file
View File

@ -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