Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
Split out install
Browse files Browse the repository at this point in the history
  • Loading branch information
anderssv committed May 4, 2013
1 parent 2716b09 commit 4293ace
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hooks/start
Expand Up @@ -2,13 +2,10 @@

set -eux

juju-log "Installing Java and Maven2 via apt-get"
apt-get -y install maven2 default-jdk

juju-log "Building application with Maven2 from $(pwd)"

./hooks/stop
mvn --batch-mode clean install -Pcloudfoundry -DskipTests
mvn --batch-mode install -Pcloudfoundry -DskipTests

juju-log "Starting application in $(pwd)"
nohup sh weboo-webapp/target/bin/webapp > server.log 2>&1 &
Expand Down
Empty file modified hooks/upgrade-charm 100644 → 100755
Empty file.

0 comments on commit 4293ace

Please sign in to comment.