Skip to content

inconsistent restart behavior for scripted services with different defaults #564

Description

@q66

The default value for restart is yes. The documentation implies that this works for any service type (i.e. scripted/internal/etc services should restart based on e.g. a dependency stopping). However, setting it to on-failure only works for (bg)process services and is like no for scripted services. Changing the default alters it for any service type. It would be desirable if the dinit-default (set via configure/mconfig) restart value of on-failure (which IMO makes much more sense; maybe would be good to consider making that the general default too?) behaved like yes for non-process/bgprocess services.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions