Command Line Init Script Generator For Linux Or Unix
Hey There,
To whatever what this week off, we now have obtained a brought up-to-the-minute script (now that we now have had been given over six hundred a few on a each day basis posts, we genuinely have approximately four hundred a few on a each day basis unfastened ends to conclude up, as just related ;) condition This script is an replace of an formerly publish we did to showcase a basic init script generator for Linux or Unix, as soon as added hearkening returned to 2007. condition How time flies as soon as you are now no longer paying focus to what you are doing ;)
This script entails about a updates (which haven't been confirmed to perfection - so trust free to place in writing in with court situations ;) such because of the prospective to earnings from of command line arguments to specify a far broader selection of options, set a few to default and now no longer even input any (except three) do you are going to determination to do now no longer might like to. condition Actually, the single three required arguments are the pick of the program it be miles probably a might determination to to whatever what with the init script you generate, the in certainty certified pick of the equivalent program and the pick of the init script itself. condition All any totally particular options are very just displayed through just walking the command with none arguments, like so:
Hope you get hold of blessings from the updates and this script is serving to you out now no longer directly or genre :)
Cheers,
Mission And Policy Statement for brought details.
To whatever what this week off, we now have obtained a brought up-to-the-minute script (now that we now have had been given over six hundred a few on a each day basis posts, we genuinely have approximately four hundred a few on a each day basis unfastened ends to conclude up, as just related ;) condition This script is an replace of an formerly publish we did to showcase a basic init script generator for Linux or Unix, as soon as added hearkening returned to 2007. condition How time flies as soon as you are now no longer paying focus to what you are doing ;)
This script entails about a updates (which haven't been confirmed to perfection - so trust free to place in writing in with court situations ;) such because of the prospective to earnings from of command line arguments to specify a far broader selection of options, set a few to default and now no longer even input any (except three) do you are going to determination to do now no longer might like to. condition Actually, the single three required arguments are the pick of the program it be miles probably a might determination to to whatever what with the init script you generate, the in certainty certified pick of the equivalent program and the pick of the init script itself. condition All any totally particular options are very just displayed through just walking the command with none arguments, like so:
Related
host # ./rcscript.sh
Options -n -p and -f are required!
Usage: ./rcscript.sh [-h for this heritage screen]
Required switches:
[-n init script name] [-p pick of software to control]
[-f managed program's in certainty certified name]
Optional switches:
[-i init directory] [-3 rc3.d directory] [-0 rc0.d directory
[-s whatever what judgements in your program]
[-S be offering up judgements in your program]
[-k similarly techniques to kill on be offering up - space separated]
[-b natural binary itemizing - defaults to /usr/bin]
Be assured to "double quote" any go arguments with spaces!
Hope you get hold of blessings from the updates and this script is serving to you out now no longer directly or genre :)
Cheers,
Mission And Policy Statement for brought details.
0 Response to "Command Line Init Script Generator For Linux Or Unix"
Post a Comment