Skip to content

Commit

Permalink
Removed /etc/default/spinnaker loading and spring config setting temp…
Browse files Browse the repository at this point in the history
…orarily for

upstream merge of upstart scripts.
  • Loading branch information
David Stenglein committed Nov 13, 2015
1 parent 4ce9571 commit 0972426
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions clouddriver-web/clouddriver-web.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies {
tasks.bootRepackage.enabled = false

applicationName = 'clouddriver'
applicationDefaultJvmArgs = ["-Djava.security.egd=file:/dev/./urandom", "-Dspring.config.location=/opt/spinnaker/config/"]
applicationDefaultJvmArgs = ["-Djava.security.egd=file:/dev/./urandom"]
applicationDistribution.from(project.file('config')) {
into 'config'
}
Expand All @@ -52,10 +52,8 @@ jar {
}
}


startScripts {
doLast {
unixScript.text = unixScript.text.replace('DEFAULT_JVM_OPTS=', '\n if [ -f /etc/default/spinnaker ];then \n set -a\n . /etc/default/spinnaker \n set +a\n fi \n DEFAULT_JVM_OPTS=')
unixScript.text = unixScript.text.replace('CLASSPATH=$APP_HOME', 'CLASSPATH=$APP_HOME/config:$APP_HOME')
windowsScript.text = windowsScript.text.replace('set CLASSPATH=', 'set CLASSPATH=%APP_HOME%\\config;')
}
Expand Down Expand Up @@ -98,10 +96,3 @@ ospackage {
buildDeb {
dependsOn installApp
}

buildRpm {
arch = NOARCH
os = LINUX
dependsOn installApp
}

0 comments on commit 0972426

Please sign in to comment.