Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to reload services in rdeps #416

Open
troglobit opened this issue Oct 17, 2024 · 0 comments
Open

Add option to reload services in rdeps #416

troglobit opened this issue Oct 17, 2024 · 0 comments

Comments

@troglobit
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant