From cba75e4c53322eb72a1e14352709dbd7063481a1 Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Fri, 13 Mar 2009 10:34:14 +0000 Subject: [PATCH] Edited wiki page through web user interface. --- wiki/Manual2.wiki | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wiki/Manual2.wiki b/wiki/Manual2.wiki index 8813bd6..51aec5d 100644 --- a/wiki/Manual2.wiki +++ b/wiki/Manual2.wiki @@ -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.