applyConfig.sh 259 B

1234567
  1. #!/bin/bash
  2. if [ ! -z "$1" ]; then
  3. /opt/IBM/WebSphere/AppServer/bin/wsadmin.sh -conntype None -f /work/applyConfig.py $1
  4. exit 0
  5. else
  6. find /work/config -type f -name "*.props" -print0 | sort -z | xargs -0 -n 1 -r /work/applyConfig.sh
  7. fi