2 ms·
You do, however, need e.g. an init that knows what to do about orphaned processes, or the above is not reliable. It also does not provide any ability to guarant
by vidarh 10y ago
You do, however, need e.g. an init that knows what to do about orphaned processes, or the above is not reliable. It also does not provide any ability to guarantee that process remains running without something other than the typical init, nor to ensure logging is done properly, or enforce resource limits.
To provide the features "just" the init replacement part of systemd provides isn't even possible with most other inits, no matter how you write your script.