提交 20274219 编写于 作者: T Tim Pizey

Add a message to explain why startup failed

上级 9bdaf8da
......@@ -28,10 +28,10 @@ DAEMON_ARGS="--name=$NAME --inherit --env=JENKINS_HOME=$JENKINS_HOME --output=$J
SU=/bin/su
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
[ -x "$DAEMON" ] || (echo "daemon package not installed" && exit 0)
# Exit if not supposed to run standalone
[ "$RUN_STANDALONE" = "false" ] && exit 0
[ "$RUN_STANDALONE" = "false" ] && echo "Not configured to run standalone" && exit 0
# load environments
if [ -r /etc/default/locale ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册