#!/bin/sh set -e <<<<<<< HEAD spawn-fcgi -a 0.0.0.0 -p 9100 -F 1 -f "php /var/www/html/xyzshop/fcgi_run.php" ======= spawn-fcgi -a 0.0.0.0 -p 9100 -F 1 -f "php /var/www/html/fcgi_run.php" >>>>>>> 228203e29f1a9f93eda3c1d8badd5fc640808e8c time=$(date "+%Y%m%d") #$logfile="/var/www/html/data/log/${time}-mobile.log" #echo $logfile <<<<<<< HEAD if [ ! -f "/var/www/html/xyzshop/data/log/${time}-mobile.log" ]; then touch "/var/www/html/xyzshop/data/log/${time}-mobile.log" fi tail -f "/var/www/html/xyzshop/data/log/${time}-mobile.log" ======= if [ ! -f "/var/www/html/data/log/${time}-mobile.log" ]; then touch "/var/www/html/data/log/${time}-mobile.log" fi tail -f "/var/www/html/data/log/${time}-mobile.log" >>>>>>> 228203e29f1a9f93eda3c1d8badd5fc640808e8c