stanley-king 4 år sedan
förälder
incheckning
6c30250e3d
1 ändrade filer med 5 tillägg och 5 borttagningar
  1. 5 5
      conf/php/docker-php-start

+ 5 - 5
conf/php/docker-php-start

@@ -3,11 +3,11 @@ set -e
 spawn-fcgi -a 0.0.0.0 -p 9100 -F 1 -f "php /var/www/html/fcgi_run.php"
 
 time=$(date "+%Y%m%d")
-$logfile="/var/www/html/data/log/${time}.log"
-echo $logfile
+#$logfile="/var/www/html/data/log/${time}.log"
+#echo $logfile
 
-if [ ! -f $logfile ]; then
-    touch $logfile
+if [ ! -f "/var/www/html/data/log/${time}.log" ]; then
+    touch "/var/www/html/data/log/${time}.log"
 fi
 
-tail -f $logfile
+tail -f "/var/www/html/data/log/${time}.log"