Skip to content

The file(path) the ApplicationPidListener writes the PID file to should be configurable #1579

@holgerstolzenberg

Description

@holgerstolzenberg

It would be great having a configuration property, e.g. spring.application.pid=/var/lock/${appName} which specifies the location the app writes its PID to. Currently this can be passed to ApplicationPidListener via constructor parameter. Problem here is that accessing the Environment may be tricky.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions