码迷,mamicode.com
首页 > 其他好文 > 详细

解决chkconfig设置开机启动时出现missing LSB的错误

时间:2018-05-13 23:08:36      阅读:238      评论:0      收藏:0      [点我收藏+]

标签:conf   ssi   VID   missing   local   cal   ice   stop   kconfig   

主要原因是脚本不符合LSB tags规范,在#!/bin/bash下面添加如下代码即可

以tomcat为例

### BEGIN INIT INFO
# Provides:          bbzhh.com
# Required-Start:    $local_fs $network
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: tomcat service
# Description:       tomcat service daemon
### END INIT INFO

解决chkconfig设置开机启动时出现missing LSB的错误

标签:conf   ssi   VID   missing   local   cal   ice   stop   kconfig   

原文地址:https://www.cnblogs.com/leviatan/p/9033598.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!