passing only the second argument and onward

This commit is contained in:
Arian Acosta 2017-07-15 11:08:01 -04:00
parent 988bbf7bde
commit 855e2a47b5
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if [ "$1" == "up" ] ; then
echo "Initializing Docker Sync"; echo "Initializing Docker Sync";
docker-sync start; docker-sync start;
echo "Initializing Docker Compose"; echo "Initializing Docker Compose";
docker-compose -f docker-compose.yml -f docker-compose.sync.yml up -d $@; docker-compose -f docker-compose.yml -f docker-compose.sync.yml up -d ${@:2};
elif [ "$1" == "down" ]; then elif [ "$1" == "down" ]; then
echo "Stopping Docker Compose"; echo "Stopping Docker Compose";
docker-compose down; docker-compose down;