Cleanup (or crazy idea): Drop forking

Achim Gratz Stromeko at nexgo.de
Tue Aug 28 18:13:03 UTC 2018


Eric S. Raymond via devel writes:
>> Of course, this doesn't work on systems that don't have systemd.  Is there a 
>> commonly used way to do this?
>
> I've seen it done under System V init with a shell wrapper that runs a
> daemon in background, nohupping it and directing stderr to a logfile.

That will quickly run into problems with making the shell script
portable enough to work with all shells that might be the default during
the boot process.  Specifically, whether or not "nohup" is a shell
builtin and what flavor of it might be available as a standalone
executable if it isn't.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra



More information about the devel mailing list