mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-30 04:55:21 +00:00
See http://weblogs.java.net/blog/kohsuke/archive/2008/06/debian_packages.html ====== According to the FHS (http://www.pathname.com/fhs/), you must not put the hudson.war into the /usr/local/bin directory. It is reserved for local administrators. According to the FHS you should place it into the /usr/share/hudsor/hudson.war (because it is architecture-independent file). git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11429 71c3de6d-444a-0410-be80-ed276b4c234a
35 lines
869 B
Plaintext
35 lines
869 B
Plaintext
# defaults for hudson continuous integration server
|
|
|
|
# pulled in from the init script; makes things easier.
|
|
NAME=hudson
|
|
|
|
# location of java
|
|
JAVA=/usr/bin/java
|
|
|
|
# arguments to pass to java
|
|
#JAVA_ARGS="-Xmx256m"
|
|
|
|
PIDFILE=/var/run/hudson/hudson.pid
|
|
|
|
# user id to be invoked as (otherwise will run as root; not wise!)
|
|
HUDSON_USER=hudson
|
|
|
|
# location of the hudson war file
|
|
HUDSON_WAR=/usr/share/hudson/hudson.war
|
|
|
|
# hudson home location
|
|
HUDSON_HOME=/var/lib/hudson
|
|
|
|
# log location. this may be a syslog facility.priority
|
|
HUDSON_LOG=/var/log/hudson/$NAME.log
|
|
#HUDSON_LOG=daemon.info
|
|
|
|
# arguments to pass to hudson.
|
|
# --javahome=$JAVA_HOME
|
|
# --httpPort=$HTTP_PORT (default 8080; disable with -1)
|
|
# --httpsPort=$HTTP_PORT
|
|
# --argumentsRealm.passwd.$ADMIN_USER=[password]
|
|
# --argumentsRealm.$ADMIN_USER=admin
|
|
# --webroot=~/.hudson/war
|
|
HUDSON_ARGS=--webroot=/var/run/hudson/war
|