Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (11 sloc) 558 Bytes
set -eux
source ./sokkyou/
DATE=$(date '+%Y%m%d_%H%M%S')
SLACK "prebench ($USER)"
for REMOTE in ${NGINX[@]}; do
ssh "isucon@$REMOTE" "if [ -f /var/log/nginx/access.log.tsv ]; then sudo mv /var/log/nginx/access.log.tsv /var/log/nginx/access.log.tsv.$DATE; fi"
ssh "isucon@$DB" "if [ -f /var/log/mariadb/mysql-slow.log ]; then sudo mv /var/log/mariadb/mysql-slow.log /var/log/mariadb/mysql-slow.log.$DATE; fi"
./sokkyou/ # この中でアプリケーションデプロイしてます
You can’t perform that action at this time.