Skip to content

Commit

Permalink
Update Sail script to only exit if Main Exits (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
mellester authored Jun 7, 2021
1 parent 3af5219 commit 5226227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sail
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fi
# Determine if Sail is currently up...
PSRESULT="$(docker-compose ps -q)"

if docker-compose ps | grep 'Exit'; then
if docker-compose ps | grep $APP_SERVICE | grep 'Exit'; then
echo -e "${WHITE}Shutting down old Sail processes...${NC}" >&2

docker-compose down > /dev/null 2>&1
Expand Down

0 comments on commit 5226227

Please sign in to comment.