Browse Source

fix bug

main
xiaoz 3 years ago
parent
commit
6b9965f9db
  1. 2
      redis.conf
  2. 3
      run.sh

2
redis.conf

@ -45,7 +45,7 @@ rdbchecksum yes
dbfilename dump.rdb dbfilename dump.rdb
#数据库存储目录 #数据库存储目录
dir /data dir /opt
replica-serve-stale-data yes replica-serve-stale-data yes

3
run.sh

@ -7,8 +7,11 @@
#start redis #start redis
redis-server /etc/redis.conf redis-server /etc/redis.conf
sleep 10
#start php-fpm #start php-fpm
php-fpm7 -RD php-fpm7 -RD
sleep 5
#start nginx #start nginx
/usr/sbin/nginx /usr/sbin/nginx
sleep 5
tail -f /var/log/nginx/error.log tail -f /var/log/nginx/error.log

Loading…
Cancel
Save