Command Line Init Script Generator For Linux Or Unix
Jun 16, 2009, 04:34 (0 Talkback[s])
(Other stories by Mike Tremell)
How to Help Your Business Become an AI Early Adopter
[ Thanks to Mike
Golvach for this link. ]
"This script includes several updates (which haven't
been tested to perfection - so feel free to write in with
complaints ;) such as the ability to use command line arguments to
specify a wider variety of options, set some to default and not
even enter any (except three) if you don't want to. Actually, the
only three required arguments are the name of the program you want
to start with the init script you generate, the fully qualified
name of the same program and the name of the init script itself.
All the other options are easily displayed by just running the
command without any arguments, like so:"