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
e687c945
Commit
e687c945
authored
Jun 11, 2015
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix documentation bookmarks
parent
992a5695
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
deployment.adoc
spring-boot-docs/src/main/asciidoc/deployment.adoc
+5
-2
No files found.
spring-boot-docs/src/main/asciidoc/deployment.adoc
View file @
e687c945
...
@@ -302,7 +302,7 @@ of this guide.
...
@@ -302,7 +302,7 @@ of this guide.
[[deployment-
service
]]
[[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 (Linux, OSX, FreeBSD etc).
...
@@ -341,12 +341,13 @@ technique.
...
@@ -341,12 +341,13 @@ technique.
[[deployment-service]]
=== Unix/Linux services
=== Unix/Linux services
Spring Boot application can be easily started as Unix/Linux services using either `init.d`
Spring Boot application can be easily started as Unix/Linux services using either `init.d`
or `systemd`.
or `systemd`.
[[deployment-initd-service]]
==== Installation as a init.d service (System V)
==== Installation as a init.d service (System V)
The default executable script that can be embedded into Spring Boot jars will act as an
The default executable script that can be embedded into Spring Boot jars will act as an
`init.d` script when it is symlinked to `/etc/init.d`. The standard `start`, `stop`,
`init.d` script when it is symlinked to `/etc/init.d`. The standard `start`, `stop`,
...
@@ -378,6 +379,7 @@ if you use Debian:
...
@@ -378,6 +379,7 @@ if you use Debian:
[[deployment-systemd-service]]
==== Installation as a systemd service
==== Installation as a systemd service
Systemd is the successor to `init.d` scripts, and now being used by many many modern Linux
Systemd is the successor to `init.d` scripts, and now being used by many many modern Linux
distributions. Although you can continue to use `init.d` script with `systemd`, it is also
distributions. Although you can continue to use `init.d` script with `systemd`, it is also
...
@@ -403,6 +405,7 @@ TIP: Remember to change the `Description` and `ExecStart` fields for your applic
...
@@ -403,6 +405,7 @@ TIP: Remember to change the `Description` and `ExecStart` fields for your applic
[[deployment-script-customization]]
==== Customizing the startup script
==== Customizing the startup script
The script accepts the following parameters as environment variables, so you can change
The script accepts the following parameters as environment variables, so you can change
the default behavior in a script or on the command line:
the default behavior in a script or on the command line:
...
...
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