From 34893eee9d93da7a11c03965a66a7d4172afda47 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Sun, 17 Jul 2016 11:58:19 -0700 Subject: [PATCH] Refine service documentation See gh-5505 --- spring-boot-docs/src/main/asciidoc/deployment.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/deployment.adoc b/spring-boot-docs/src/main/asciidoc/deployment.adoc index b150e9ec7a..4ce1ce0387 100644 --- a/spring-boot-docs/src/main/asciidoc/deployment.adoc +++ b/spring-boot-docs/src/main/asciidoc/deployment.adoc @@ -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 ---- -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"] ---- - $ /etc/init.d/myapp start + $ service myapp start ---- TIP: If your application fails to start, check the log file written to `/var/log/.log` for errors. 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"] ----