Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
e748c5e6
Commit
e748c5e6
authored
Apr 20, 2016
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.3.x'
parents
addb6950
125483e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
deployment.adoc
spring-boot-docs/src/main/asciidoc/deployment.adoc
+6
-5
No files found.
spring-boot-docs/src/main/asciidoc/deployment.adoc
View file @
e748c5e6
...
@@ -367,11 +367,8 @@ of this guide.
...
@@ -367,11 +367,8 @@ of this guide.
[[deployment-install]]
[[deployment-install]]
== Installing Spring Boot applications
== Installing Spring Boot applications
In additional to running Spring Boot applications using `java -jar` it is also possible
In additional to running Spring Boot applications using `java -jar` it is also possible
to make fully executable applications for Unix systems (Linux, OSX, FreeBSD etc).
to make fully executable applications for Unix systems. This makes it very easy to install
This makes it very easy to install and manage Spring Boot applications in common
and manage Spring Boot applications in common production environments.
production environments. As long as you are generating '`fully executable`' jars from your
build, and you are not using a custom `embeddedLaunchScript`, the following techniques
can be used.
To create a '`fully executable`' jar with Maven use the following plugin configuration:
To create a '`fully executable`' jar with Maven use the following plugin configuration:
...
@@ -401,6 +398,10 @@ NOTE: Fully executable jars work by embedding an extra script at the front of th
...
@@ -401,6 +398,10 @@ NOTE: Fully executable jars work by embedding an extra script at the front of th
Not all tools currently accept this format so you may not always be able to use this
Not all tools currently accept this format so you may not always be able to use this
technique.
technique.
NOTE: The default script supports most Linux distributions and is tested on CentOS and
Ubuntu. Other platforms, such as OS X and FreeBSD, will require the use of a custom
`embeddedLaunchScript`.
NOTE: When a fully executable jar is run, it uses the jar's directory as the working
NOTE: When a fully executable jar is run, it uses the jar's directory as the working
directory.
directory.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment