mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish pid metadata
This commit moves the `spring.pid.*` metadata to the relevant project. It also updates the doc to refer to the new `ApplicationPidFileWriter` rather than the one in its deprecatred form. Closes gh-8196
This commit is contained in:
parent
22ba7b93b2
commit
a30461c5c7
@ -186,18 +186,6 @@
|
||||
"replacement": "spring.info.git.location"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "spring.pid.file",
|
||||
"type": "java.lang.String",
|
||||
"description": "Location of the PID file to write (if ApplicationPidFileWriter is used).",
|
||||
"sourceType": "org.springframework.boot.actuate.system.ApplicationPidFileWriter"
|
||||
},
|
||||
{
|
||||
"name": "spring.pid.fail-on-write-error",
|
||||
"type": "java.lang.Boolean",
|
||||
"description": "Fail if ApplicationPidFileWriter is used but it cannot write the PID file.",
|
||||
"sourceType": "org.springframework.boot.actuate.system.ApplicationPidFileWriter"
|
||||
},
|
||||
{
|
||||
"name": "spring.pidfile",
|
||||
"type": "java.lang.String",
|
||||
|
@ -1488,7 +1488,7 @@ writes a PID file. Example:
|
||||
[indent=0]
|
||||
----
|
||||
org.springframework.context.ApplicationListener=\
|
||||
org.springframework.boot.actuate.system.ApplicationPidFileWriter,\
|
||||
org.springframework.boot.system.ApplicationPidFileWriter,\
|
||||
org.springframework.boot.actuate.system.EmbeddedServerPortFileWriter
|
||||
----
|
||||
|
||||
|
@ -178,6 +178,18 @@
|
||||
"description": "Configure the ANSI output.",
|
||||
"defaultValue": "detect"
|
||||
},
|
||||
{
|
||||
"name": "spring.pid.file",
|
||||
"type": "java.lang.String",
|
||||
"description": "Location of the PID file to write (if ApplicationPidFileWriter is used).",
|
||||
"sourceType": "org.springframework.boot.system.ApplicationPidFileWriter"
|
||||
},
|
||||
{
|
||||
"name": "spring.pid.fail-on-write-error",
|
||||
"type": "java.lang.Boolean",
|
||||
"description": "Fail if ApplicationPidFileWriter is used but it cannot write the PID file.",
|
||||
"sourceType": "org.springframework.boot.system.ApplicationPidFileWriter"
|
||||
},
|
||||
{
|
||||
"name": "spring.profiles.active",
|
||||
"type": "java.lang.String",
|
||||
|
Loading…
Reference in New Issue
Block a user