HomeFreeBSD

daemon: decouple restart variable

Description

daemon: decouple restart variable

The 'restart' variable was responsible for enablement of restart
behavior and for restart delay. While it may seem convenient it
leads to cluttering the exit/restart logic

Reviewed by: kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/672

Details

Provenance
ihor_antonovs.familyAuthored on Mar 3 2023, 5:17 AM
kevansCommitted on Mar 3 2023, 5:17 AM
Parents
rGd6c398d882b6: daemon: add braces to while loop
Branches
Unknown
Tags
Unknown