Command Delineate Of Piece Of Occupation Init Script Generator For Linux Or Unix

Hey There,

To get-go this calendar week off, we've got around other updated script (now that nosotros convey over 600 around strange posts, nosotros truly convey nearly 400 around strange unloosen ends to complete up, also ;) This script is an update of an before post 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 - together with therefore experience gratuitous to write inward alongside complaints ;) such equally the might to purpose command trouble arguments to specify a wider diversity of options, railroad train around to default together with non fifty-fifty function inward whatsoever (except three) if you lot don't desire to. Actually, the solely 3 required arguments are the advert of the program you lot desire to get-go alongside the init script you lot generate, the fully qualified advert of the same program together with the advert of the init script itself. All the other options are easily displayed past times only running the command without whatsoever arguments, similar so:

Related


host # ./rcscript.sh

Options -n -p together with -f are required!

Usage: ./rcscript.sh [-h for this assistance screen]

Required switches:
[-n init script name] [-p advert 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 get-go 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" whatsoever switch arguments alongside spaces!


Hope you lot taste the updates together with this script helps you lot out inward around mode or fashion :)

Cheers,

Mission And Policy Statement for farther details.

Related Posts

0 Response to "Command Delineate Of Piece Of Occupation Init Script Generator For Linux Or Unix"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel