service redis does not support chkconfig的解决办法

chkconfig redis on
提示错误 service redis does not support chkconfig

把下面两行注释放在/etc/init.d/redis文件靠前的注释中:

#chkconfig: 2345 90 10
#description: Redis is a persistent key-value database

如果属性chkconfig单词写错/2345 90 10等级配置不对,也会弹出标题的错误提示。

原文地址:https://www.cnblogs.com/myibm/p/14707939.html