1234567891011121314151617181920212223 |
- #!/usr/bin/env bash
- git config core.ignorecase false
- chmod 777 /app/data/tmp -R
- service crond restart
- hostname=`hostname`
- domain=`php /app/bin/tools.php getDomain`
- port=`php /app/bin/tools.php getPort`
- #初始化数据
- curl -s http://${domain}:${port}/v2/tools/init
- #初始化量身定制
- curl -s http://${domain}:${port}/v2/tools/init?key=customized
- #初始化机台数据
- curl -s http://${domain}:${port}/v2/tools/report-calculation?key=机台报表数据
- #转移报表密码
- curl -s http://${domain}:${port}/v2/tools/report-forms-data-init?key=转移报表密码
- #初始化财务数据
- curl -s http://${domain}:${port}/v2/tools/report-calculation?key=statement
- sed -i 's/^max_allowed_packet = 1M/max_allowed_packet = 16M/' /etc/my.cnf
|