diff --git a/spring-boot-actuator/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-actuator/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 05e93991584..f60dad74b5c 100644 --- a/spring-boot-actuator/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-actuator/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -215,18 +215,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", diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index 1c6aeac1768..069b24e7573 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -123,7 +123,7 @@ content into your application; rather pick only the properties that you need. # OUTPUT spring.output.ansi.enabled=detect # Configure the ANSI output. - # PID FILE ({sc-spring-boot-actuator}/system/ApplicationPidFileWriter.{sc-ext}[ApplicationPidFileWriter]) + # PID FILE ({sc-spring-boot}/system/ApplicationPidFileWriter.{sc-ext}[ApplicationPidFileWriter]) spring.pid.fail-on-write-error= # Fail if ApplicationPidFileWriter is used but it cannot write the PID file. spring.pid.file= # Location of the PID file to write (if ApplicationPidFileWriter is used). diff --git a/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index 504b16511d4..99cc4170a0c 100644 --- a/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -1550,7 +1550,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 ---- diff --git a/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 1a62ce48c53..3480b8f7c2f 100644 --- a/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -182,6 +182,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.util.List",