【发布时间】:2011-10-05 11:05:13
【问题描述】:
我正在尝试让 Jetty 在我的 Ubuntu 上自动启动。 我已经完成了这些命令:
cp /opt/jetty/bin/jetty.sh /etc/init.d
update-rc.d jetty.sh defaults
但是当我运行它时,我得到一个“未启动码头 - NO_START=1”。
有人知道为什么吗?
其次,jetty.sh里面有如下说明。
# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
# chkconfig: 3 99 99
# description: Jetty 7 webserver
# processname: jetty
# ========================
他们指的是什么“3 行”?我取消了注释
chkconfig: 3 99 99
description: Jetty 7 webserver
processname: jetty
但也有错误。
【问题讨论】:
标签: jetty