Skip to content

Running /sbin/entrypoint.sh start-and-exit causes the healthcheck to fail #717

Description

@lukeyeager
$ docker compose exec splunk-so cat ../container_artifact/splunk-container.state
started
$ docker compose exec splunk-so /sbin/entrypoint.sh start-and-exit
...
$ docker compose exec splunk-so cat ../container_artifact/splunk-container.state
starting

I prefer to use exec splunk-so /sbin/entrypoint.sh start-and-exit rather than restart splunk-so when I make changes to /tmp/defaults/ because there is less downtime from a splunkd restart than from restarting the whole container.

This issue is a problem because /sbin/checkstate.sh reports that the container is unhealthy unless the state is "running" or "started".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions