Skip to content

Add option to reload services in rdeps #416

Description

@troglobit

When #415 is fixed a fundamental behavior introduced in v4.0 is changed. This issue propose adding a per-process option to tweak this behavior.

Using the example from #415, this per-process option could look like this:

sysklogd.conf:
    service if:udevd nowarn env:-/etc/default/sysklogd <run/udevadm:5/success> \
            [S0123456789] syslogd -F $SYSLOGD_ARGS -- System log daemon

iitod.conf:
    service [S0123456789] <!~pid/syslogd> iitod -- LED daemon

Here a ~ has been introduced to signify that iitod should be stopped (because of !) not just if the condition is lost, but also when it is in flux, which is the case when syslogd is reloaded.

Note: it may be worth looking into #330 during this task.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions