extracting postgres start from Node.js installation file

This commit is contained in:
Simon Martín 2019-02-12 18:51:33 +01:00
parent b2f5e72bf1
commit 97f813a777
3 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,9 @@ echo "*********************"
echo "To install Node.js, run:"
echo "/src/nodejs-install.sh"
echo "Use NODEJS_VERSION env var to select the Node.js version"
echo " "
echo "To start postgres, run:"
echo "/etc/init.d/postgresql start"
echo "*********************"
echo " "

View File

@ -11,5 +11,3 @@ fi
nvm install $NODEJS_VERSION $NODEJS_VERSION_OPTIONS
nvm alias default $NODEJS_VERSION
nvm use default
/etc/init.d/postgresql start

View File

@ -1,5 +1,7 @@
#!/bin/bash
/etc/init.d/postgresql start
source /src/nodejs-install.sh
echo "Node.js version: "