zkteco-home / redis-windows

Native port of Redis for Windows,it can be installed as service.
MIT License
1.84k stars 167 forks source link

win10以服务方式运行,停止服务时不保存rdb文件 #38

Closed sds0917 closed 1 year ago

sds0917 commented 1 year ago

win10以服务方式运行,停止服务时不保存rdb文件。 如果以命令行方式运行,关闭命令行窗口时可以正常保存rdb文件。

安装服务的命令来自于README.md文件,版本为7.0.8.1

感谢

zkteco-home commented 1 year ago

I will investigate,thanks

zkteco-home commented 1 year ago

i tested it on windows 11,it looks working fine,you check if you use same config file when command line or service. image

you observe if rdb file created when service is running,.rdb file should be created when service is running if you run redis-benchmark.exe to test

sds0917 commented 1 year ago

感谢,可以了,是save选项配置问题