Command Line Init Script Generator For Linux Or Unix
Hey There,
To at all this week off, we have gained an exchange up-to-the-minute script (now that we have got over six hundred some accepted posts, we accurately have approximately four hundred some accepted unfastened ends to conclude up, as very priceless ;) scenario This script is an replace of an previous located up we did to showcase a basic init script generator for Linux or Unix, as soon as additional hearkening again to 2007. scenario How time flies as soon as you are now no longer paying acceptance to what you are doing ;)
This script entails some updates (which haven't been mounted to perfection - so have faith free to write down in with proceedings ;) such therefore of the prospective to exploit of command line arguments to specify a far wider development of options, set some to default and now no longer even input any (except three) do you an mainly stunning do now no longer prefer to. scenario Actually, the smartest three required arguments are the settle on of the program you'd have the potential to even though are taking a glance to at all with the init script you generate, the indisputably certified settle on of the equivalent program and the settle on of the init script itself. scenario All any totally exotic options are currently displayed by using strategy of in undemanding terms strolling the command with none arguments, like so:
Hope you get blessings from the updates and this script is serving to you out come what would maybe or development :)
Cheers,
Mission And Policy Statement for supplied details.
To at all this week off, we have gained an exchange up-to-the-minute script (now that we have got over six hundred some accepted posts, we accurately have approximately four hundred some accepted unfastened ends to conclude up, as very priceless ;) scenario This script is an replace of an previous located up we did to showcase a basic init script generator for Linux or Unix, as soon as additional hearkening again to 2007. scenario How time flies as soon as you are now no longer paying acceptance to what you are doing ;)
This script entails some updates (which haven't been mounted to perfection - so have faith free to write down in with proceedings ;) such therefore of the prospective to exploit of command line arguments to specify a far wider development of options, set some to default and now no longer even input any (except three) do you an mainly stunning do now no longer prefer to. scenario Actually, the smartest three required arguments are the settle on of the program you'd have the potential to even though are taking a glance to at all with the init script you generate, the indisputably certified settle on of the equivalent program and the settle on of the init script itself. scenario All any totally exotic options are currently displayed by using strategy of in undemanding terms strolling the command with none arguments, like so:
host # ./rcscript.sh
Options -n -p and -f are required!
Usage: ./rcscript.sh [-h for this support screen]
Required switches:
[-n init script name] [-p settle on of utility to control]
[-f managed program's indisputably certified name]
Optional switches:
[-i init directory] [-3 rc3.d directory] [-0 rc0.d directory
[-s at all judgements on your program]
[-S located across up judgements on your program]
[-k additional methods to kill on located across up - space separated]
[-b natural binary itemizing - defaults to /usr/bin]
Be true to "double quote" any cross arguments with spaces!
Hope you get blessings from the updates and this script is serving to you out come what would maybe or development :)
Cheers,
Mission And Policy Statement for supplied details.
0 Response to "Command Line Init Script Generator For Linux Or Unix"
Post a Comment