提交 2c676b1f 编写于 作者: K kohsuke

Debian package now has the <tt>RUN_STANDALONE</tt> switch to control if...

    Debian package now has the <tt>RUN_STANDALONE</tt> switch to control if hudson should be run as a daemon.
    (<a href="http://www.nabble.com/Debian-repo-tt21467102.html">report</a>)



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14497 71c3de6d-444a-0410-be80-ed276b4c234a
上级 8f357c18
......@@ -20,6 +20,11 @@ HUDSON_WAR=/usr/share/hudson/hudson.war
# hudson home location
HUDSON_HOME=/var/lib/hudson
# set this to false if you don't want Hudson to run by itself
# in this set up, you are expected to provide a servlet containr
# to host hudson.
RUN_STANDALONE=true
# log location. this may be a syslog facility.priority
HUDSON_LOG=/var/log/hudson/$NAME.log
#HUDSON_LOG=daemon.info
......
......@@ -18,6 +18,9 @@ DAEMON_ARGS="--name=$NAME --inherit --env=HUDSON_HOME=$HUDSON_HOME --output=$HUD
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
# Exit if not supposed to run standalone
[ "$RUN_STANDALONE" = "false" ] && exit 0
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册