Command Job Init Script Generator For Linux Or Unix
Hey There,
To outset this calendar week off, we've got roughly other updated script (now that nosotros bring over 600 roughly strange posts, nosotros genuinely bring almost 400 roughly strange unloose ends to complete up, also ;) This script is an update of an before ship service nosotros did to showcase a basic init script generator for Linux or Unix, ane time to a greater extent than hearkening dorsum to 2007. How fourth dimension flies when you're non paying attending to what you're doing ;)
This script includes several updates (which haven't been tested to perfection - in addition to therefore experience complimentary to write inwards amongst complaints ;) such equally the might to purpose command job arguments to specify a wider diverseness of options, fix roughly to default in addition to non fifty-fifty run inwards whatever (except three) if you lot don't desire to. Actually, the exclusively iii required arguments are the lift of the program you lot desire to outset amongst the init script you lot generate, the fully qualified lift of the same program in addition to the lift of the init script itself. All the other options are easily displayed past times simply running the command without whatever arguments, similar so:
Hope you lot savour the updates in addition to this script helps you lot out inwards roughly mode or fashion :)
Cheers,
Mission And Policy Statement for farther details.
To outset this calendar week off, we've got roughly other updated script (now that nosotros bring over 600 roughly strange posts, nosotros genuinely bring almost 400 roughly strange unloose ends to complete up, also ;) This script is an update of an before ship service nosotros did to showcase a basic init script generator for Linux or Unix, ane time to a greater extent than hearkening dorsum to 2007. How fourth dimension flies when you're non paying attending to what you're doing ;)
This script includes several updates (which haven't been tested to perfection - in addition to therefore experience complimentary to write inwards amongst complaints ;) such equally the might to purpose command job arguments to specify a wider diverseness of options, fix roughly to default in addition to non fifty-fifty run inwards whatever (except three) if you lot don't desire to. Actually, the exclusively iii required arguments are the lift of the program you lot desire to outset amongst the init script you lot generate, the fully qualified lift of the same program in addition to the lift of the init script itself. All the other options are easily displayed past times simply running the command without whatever arguments, similar so:
host # ./rcscript.sh
Options -n -p in addition to -f are required!
Usage: ./rcscript.sh [-h for this assist screen]
Required switches:
[-n init script name] [-p lift of plan to control]
[-f controlled program's fully qualified name]
Optional switches:
[-i init directory] [-3 rc3.d directory] [-0 rc0.d directory
[-s outset options for your program]
[-S halt options for your program]
[-k additional programs to kill on halt - infinite separated]
[-b mutual binary directory - defaults to /usr/bin]
Be certain to "double quote" whatever switch arguments amongst spaces!
Hope you lot savour the updates in addition to this script helps you lot out inwards roughly mode or fashion :)
Cheers,
Mission And Policy Statement for farther details.
0 Response to "Command Job Init Script Generator For Linux Or Unix"
Post a Comment