Edited wiki page through web user interface.
This commit is contained in:
parent
d0cc94c119
commit
cba75e4c53
@ -139,6 +139,11 @@ fi
|
||||
|
||||
Take notice of the basename command. Items are provided with full path. Basename strips this path from the filename and uses just the filename in this script.
|
||||
|
||||
*Rules when writing a script for usage with PPSS*
|
||||
|
||||
* As with any decent shell script, use exit codes. Exit code 0 reflects successful execution, any other value a faillure.
|
||||
* Echo some information about what the script is doing. If something fails, echo what is wrong. This is caught by PPSS and logged in the logfile of the item that is processed.
|
||||
|
||||
*TIP*
|
||||
|
||||
All variables specified when generating a configuration script can be used within your own script when sourcing the configuration file.
|
||||
|
Loading…
Reference in New Issue
Block a user