Initial commit
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
#if [[ -n $(git diff --stat) ]]
|
||||
#then
|
||||
# echo '请先提交代码: git commit -m "comment"'
|
||||
# exit
|
||||
#fi
|
||||
|
||||
sudo make deploy || exit "$$?"
|
||||
#scp -P 22889 stat-center.tar.gz root@172.104.184.194:/data/uzip/
|
||||
#ssh root@172.104.184.194 -p 22889 "/server/zhihu/stat-center/up_stat.sh"
|
||||
|
||||
#!/bin/bash
|
||||
#知乎统计中心server端-正式服
|
||||
scp -P 22 stat-center.tar.gz root@192.168.10.143:/home/stat-center/backserver/zhihu
|
||||
ssh root@192.168.10.143 -p 22 "cd /home/stat-center/backserver/zhihu && bash /home/stat-center/backserver/zhihu/run.sh"
|
||||
Reference in New Issue
Block a user