在#!/bin/sh后面必须有:# chkconfig和# description。

如:

# chkconfig: 345 63 37
# description: activemq servlet container.

posted on 2016-10-07 10:03  玄同太子  阅读(280)  评论(0编辑  收藏  举报