docker-php-spwan-start 769 B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. set -e
  3. <<<<<<< HEAD
  4. spawn-fcgi -a 0.0.0.0 -p 9100 -F 1 -f "php /var/www/html/xyzshop/fcgi_run.php"
  5. =======
  6. spawn-fcgi -a 0.0.0.0 -p 9100 -F 1 -f "php /var/www/html/fcgi_run.php"
  7. >>>>>>> 228203e29f1a9f93eda3c1d8badd5fc640808e8c
  8. time=$(date "+%Y%m%d")
  9. #$logfile="/var/www/html/data/log/${time}-mobile.log"
  10. #echo $logfile
  11. <<<<<<< HEAD
  12. if [ ! -f "/var/www/html/xyzshop/data/log/${time}-mobile.log" ]; then
  13. touch "/var/www/html/xyzshop/data/log/${time}-mobile.log"
  14. fi
  15. tail -f "/var/www/html/xyzshop/data/log/${time}-mobile.log"
  16. =======
  17. if [ ! -f "/var/www/html/data/log/${time}-mobile.log" ]; then
  18. touch "/var/www/html/data/log/${time}-mobile.log"
  19. fi
  20. tail -f "/var/www/html/data/log/${time}-mobile.log"
  21. >>>>>>> 228203e29f1a9f93eda3c1d8badd5fc640808e8c