原文:service XXX does not support chkconfig

有时候为了方便管理,我们常常喜欢在Linux中将之安装为服务,然后就可以使用服务来管理。 但是当我们运行安装服务的命令时候,假设服务名为myservice 常常会出现 我们一般在脚本开头加入下面两句就好了 gedit etc init.d myservice 添加下面两句到 bin bash 之后。 其中 是默认启动级别,级别有 共 个级别。 等级 表示:表示关机 等级 表示:单用户模式 等级 表 ...

2012-07-12 11:31 2 34096 推荐指数:

查看详情

service redis does not support chkconfig的解决办法

原文链接: http://my.oschina.net/maczhao/blog/322931 问题解决办法如下: 必须把下面两行注释放在/etc/init.d/redis文件靠前的注释中: # chkconfig: 2345 90 10 # description: Redis ...

Mon Aug 31 23:13:00 CST 2015 0 3588
service mc_start.sh does not support chkconfig

在构建docker镜像时,编写Dockerfile构建镜像时,配置自启动脚本报错,service mc_start.sh does not support chkconfig 添加下面两句到 #!/bin/bash 之后。 注:chkconfig命令对应的目录是/etc ...

Wed Aug 28 02:21:00 CST 2019 0 524
service redis does not support chkconfig的解决办法

问题解决办法如下: 必须把下面两行注释放在/etc/init.d/redis文件靠前的注释中: # chkconfig: 2345 90 10 # description: Redis is a persistent key-value database ...

Thu Oct 18 23:38:00 CST 2012 1 15648
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM