@ -45,7 +45,7 @@ rdbchecksum yes
dbfilename dump.rdb
#数据库存储目录
dir /data
dir /opt
replica-serve-stale-data yes
@ -7,8 +7,11 @@
#start redis
redis-server /etc/redis.conf
sleep 10
#start php-fpm
php-fpm7 -RD
sleep 5
#start nginx
/usr/sbin/nginx
tail -f /var/log/nginx/error.log