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
34893eee
Commit
34893eee
authored
Jul 17, 2016
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refine service documentation
See gh-5505
parent
1f3d9235
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
deployment.adoc
spring-boot-docs/src/main/asciidoc/deployment.adoc
+4
-3
No files found.
spring-boot-docs/src/main/asciidoc/deployment.adoc
View file @
34893eee
...
@@ -438,18 +438,19 @@ Spring Boot application as an `init.d` service simply create a symlink:
...
@@ -438,18 +438,19 @@ Spring Boot application as an `init.d` service simply create a symlink:
$ sudo ln -s /var/myapp/myapp.jar /etc/init.d/myapp
$ sudo ln -s /var/myapp/myapp.jar /etc/init.d/myapp
----
----
Once installed, you can start and stop the service in the usual way. For example:
Once installed, you can start and stop the service in the usual way. For example, on a
Debian based system:
[indent=0,subs="verbatim,quotes,attributes"]
[indent=0,subs="verbatim,quotes,attributes"]
----
----
$
/etc/init.d/
myapp start
$
service
myapp start
----
----
TIP: If your application fails to start, check the log file written to
TIP: If your application fails to start, check the log file written to
`/var/log/<appname>.log` for errors.
`/var/log/<appname>.log` for errors.
You can also flag the application to start automatically using your standard operating
You can also flag the application to start automatically using your standard operating
system tools. For example,
if you use
Debian:
system tools. For example,
on
Debian:
[indent=0,subs="verbatim,quotes,attributes"]
[indent=0,subs="verbatim,quotes,attributes"]
----
----
...
...
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