mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-17 19:00:39 +01:00
Moving keystore definition into settings
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
# Default values
|
||||
GITBUCKET_HOME=/var/lib/gitbucket
|
||||
GITBUCKET_WAR_FILE=/usr/share/gitbucket/lib/gitbucket.war
|
||||
GITBUCKET_KEYSTORE=/var/lib/gitbucket/keystore
|
||||
|
||||
# Pull in cq settings
|
||||
[ -f /etc/sysconfig/gitbucket ] && . /etc/sysconfig/gitbucket
|
||||
@@ -30,8 +29,6 @@ RETVAL=0
|
||||
start() {
|
||||
echo -n $"Starting GitBucket server: "
|
||||
|
||||
GITBUCKET_JVM_OPTS="${GITBUCKET_JVM_OPTS} -Djavax.net.ssl.trustStore=${GITBUCKET_KEYSTORE}"
|
||||
|
||||
# Compile statup parameters
|
||||
if [ $GITBUCKET_PORT ]; then
|
||||
START_OPTS="${START_OPTS} --port=${GITBUCKET_PORT}"
|
||||
|
||||
Reference in New Issue
Block a user