root@hm-saas-db:/etc/init.d# update-rc.d confluence disable
update-rc.d: error: confluence Default-Start contains no runlevels, aborting.
root@hm-saas-db:/etc/init.d# more atlbitbucket 

 update-rc.d: error: XXX Default-Start contains no runlevels, aborting.

 编辑/etc/init.d下的你的服务,头部#!/usr/bin/env bash 下添加如下内容:

### BEGIN INIT INFO
# Provides:          XXX
# Required-Start:
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start XXX daemon at boot time
# Description:       Start XXX daemon at boot time
### END INIT INFO

例如:

update-rc.d: error: XXX Default-Start contains no runlevels, aborting.

 再次执行

update-rc.d confluence disable

 结合rrconf工具命令查看,启动项列表

update-rc.d: error: XXX Default-Start contains no runlevels, aborting.

 

update-rc.d: error: XXX Default-Start contains no runlevels, aborting.

相关文章:

  • 2022-12-23
  • 2021-08-10
  • 2021-10-19
  • 2022-12-23
  • 2021-08-08
  • 2021-12-20
  • 2021-05-02
猜你喜欢
  • 2022-12-23
  • 2021-07-16
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2022-03-04
  • 2021-05-23
相关资源
相似解决方案