Skip to content

Commit 713fd51

Browse files
committed
Merge pull request #6954 from vpavic:update-docs
* pr/6954: Improve systemd service documentation
2 parents 4603d82 + 469a4e3 commit 713fd51

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spring-boot-docs/src/main/asciidoc/deployment.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,9 +548,12 @@ the following example and place it in `/etc/systemd/system` directory:
548548
TIP: Remember to change the `Description`, `User` and `ExecStart` fields for your
549549
application.
550550

551+
TIP: Note that `ExecStart` field does not declare the script action command, which means
552+
that `run` command is used by default.
553+
551554
Note that unlike when running as an `init.d` service, user that runs the application, PID
552-
file and console log file behave differently under `systemd` and must be configured using
553-
appropriate fields in '`service`' script. Consult the
555+
file and console log file are managed by `systemd` itself and therefore must be configured
556+
using appropriate fields in '`service`' script. Consult the
554557
http://www.freedesktop.org/software/systemd/man/systemd.service.html[service unit
555558
configuration man page] for more details.
556559

0 commit comments

Comments
 (0)