在#!/bin/sh后面必须有:# chkconfig和# description。 如: # chkconfig: 345 63 37# description: activemq servlet container. 相关文章: