Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Configure units to automatically restart under certain failure conditions #255

@wallrj

Description

@wallrj

We'd like to be able to configure units to automatically restart under
certain failure conditions.

Eg

  • If a user deliberately stops the docker container associated with a
    gear unit.
  • Or if the docker container image takes so long to download that
    the systemd unit times out and enters the failed state. (although that
    may be an issue that we should address by pre-caching the docker image
    before calling gear install --start

That last problem may also be addressed by the docker readiness
notification idea in this PR
#175

The idea of recommending the systemd restart feature by default is
described here:

See:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions