- #!/bin/bash
- set -e
- set -o pipefail
- echo 'export JAVA_HOME=/usr/java/jdk1.8.0_271' >> /etc/profile
- echo 'export MAVEN_HOME=/app/soft/maven3.0.3' >> /etc/profile
- echo 'export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib' >> /etc/profile
- echo 'export PATH=$MAVEN_HOME/bin:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH:$HOME/bin' >> /etc/profile
- echo "ulimit -n 65535" >> /etc/profile
- echo "ulimit -u 65535" >> /etc/profile
- source /etc/profile
- mkdir -p /data/wapage/log/ea_video_adv
- mkdir -p /data/image/eachat
- exec "$@"
|