Update script: remove sudo for coturn.
This commit is contained in:
parent
14efc65b88
commit
bf02e58448
1 changed files with 2 additions and 4 deletions
|
@ -9,8 +9,7 @@ rel_path="$(dirname "$0")"
|
|||
|
||||
|
||||
function pull {
|
||||
[[ "$1" == "coturn" ]] && local sudo="sudo"
|
||||
$sudo docker-compose -f "$rel_path/$1/docker-compose.yaml" pull
|
||||
docker-compose -f "$rel_path/$1/docker-compose.yaml" pull
|
||||
}
|
||||
|
||||
|
||||
|
@ -21,8 +20,7 @@ function up {
|
|||
sudo "$rel_path/backup.sh" "$1" --norestart
|
||||
fi
|
||||
|
||||
[[ "$1" == "coturn" ]] && local sudo="sudo"
|
||||
$sudo docker-compose -f "$rel_path/$1/docker-compose.yaml" up -d
|
||||
docker-compose -f "$rel_path/$1/docker-compose.yaml" up -d
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue