2018年7月13日

Linux服务开机自启动使用示例

摘要: 本文以redis服务为例,介绍了两种服务自启动的方法service,systemctl使用示例 1.修改redis.conf,允许后台运行 daemonize no 改为 daemonize yes 2.使用service命令 1)编写启动shell脚本,命名为redis redis文件代码如下: 阅读全文

posted @ 2018-07-13 19:27 迪米特 阅读(718) 评论(0) 推荐(0)

导航