finally
This commit is contained in:
parent
73a41d458b
commit
1f86909e37
|
|
@ -14,6 +14,9 @@ ssh -MNf -o ControlMaster=yes -o ControlPersist=120 \
|
||||||
|
|
||||||
# 2) rsync (reuses the connection)
|
# 2) rsync (reuses the connection)
|
||||||
|
|
||||||
|
# ensure our directory exists
|
||||||
|
ssh -o ControlPath=$SOCK "$HOST" "mkdir -p $DEST/app"
|
||||||
|
|
||||||
# destructive sync for /app
|
# destructive sync for /app
|
||||||
rsync -az --delete \
|
rsync -az --delete \
|
||||||
-e "ssh -o ControlPath=$SOCK" \
|
-e "ssh -o ControlPath=$SOCK" \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user