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
編輯/etc/init.d下的你的服務,頭部#!/usr/bin/env bash 下添加以下內容: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
例如:ide
再次執行工具
update-rc.d confluence disable
結合rrconf工具命令查看,啓動項列表ui