Author: Edward Bartolo Date: To: dng Subject: [DNG] Conversion script: was Formail for managing digests
Inits need to understand unit files, give them that functionality.
That is far more efficient compared to what you are doing.
1) check for the presence of a unit file
2) if it exists
a) branch to function to read unit file and run daemon
b) if NOT execute shell script to run daemon
Programming allows to create a configuration text file which tells an
init to be aware of the existence of unit files. This can be used to
minimize the incidence of bugs for cases where no unit files are used.
The extra functionality can be debugged in separate functions.
If you can't explain it simply, you don't understand it well enough.
If you cannot make abstructions about details you do not understand
the concepts underlying them.
This message was posted to the following mailing lists: