Skip to content

Commit

Permalink
New proteus-environment.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Mesa Canal committed Oct 26, 2016
1 parent b27629d commit 1c5aa31
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions proteus-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ STATUS=$(service $SERVICE status)

# Check Docker service and start Proteus Environment


if (( $(ps -ef | grep -v grep | grep $SERVICE | wc -l) > 0 ))
then
echo "Docker is Running"
echo "Starting Proteus Environment"
echo " ____ _ "
echo "| _ \ _ __ ___ | |_ ___ _ _ ___ "
echo "| |_) | '__/ _ \| __/ _ \ | | / __| "
echo "| __/| | | (_) | || __/ |_| \__ \ "
echo "|_| |_| \___/ \__\___|\__,_|___/ "
echo ""
echo ""
echo "Proteus Environment"
echo ""
./scripts/core.sh
else
echo "Docker is Stopped."
Expand Down

0 comments on commit 1c5aa31

Please sign in to comment.