mobile-spwan-start 294 B

1234567891011
  1. #!/bin/sh
  2. set -e
  3. spawn-fcgi -a 0.0.0.0 -p 9100 -F 32 -f "php /var/www/html/mobile/mobile_run.php"
  4. time=$(date "+%Y%m%d")
  5. if [ ! -f "/var/www/html/data/log/${time}-mobile.log" ]; then
  6. touch "/var/www/html/data/log/${time}-mobile.log"
  7. fi
  8. tail -f "/var/www/html/data/log/${time}-mobile.log"