mirror of
https://github.com/EtherDream/jsproxy
synced 2024-11-21 17:37:58 +00:00
上传保留文件属性
This commit is contained in:
parent
11171c2f4e
commit
b5515add9f
@ -1,13 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# 功能:同步文件到所有节点,并重启服务
|
||||
|
||||
HOST=etherdream.com
|
||||
NODE=(
|
||||
node-aliyun-hk
|
||||
node-aliyun-sg
|
||||
node-bwh-los
|
||||
)
|
||||
for v in ${NODE[@]}; do
|
||||
echo "$v upload ..."
|
||||
|
||||
rsync . jsproxy@$v.$HOST:server \
|
||||
--delete -r \
|
||||
-r -p \
|
||||
--exclude='nginx/cache/*' \
|
||||
--exclude='nginx/logs/*'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user