Difference between revisions of "Seon Core environment variables"
From Seon
Line 5: | Line 5: | ||
*<code>Seon_TMP_DIR</code>: temporary data directory | *<code>Seon_TMP_DIR</code>: temporary data directory | ||
*<code>Seon_BIN_DIR</code>: binary program directory | *<code>Seon_BIN_DIR</code>: binary program directory | ||
− | *<code>Seon_SCRIPT_DIR</code>: script installation directory | + | *<code>Seon_SCRIPT_DIR</code>: script installation directory |
+ | *<code>Seon_BACKUP_DIR</code>: backup directory | ||
*<code>RAND_FILE</code>: entropy file for OFTP2 needs | *<code>RAND_FILE</code>: entropy file for OFTP2 needs | ||
*<code>OPENSSL_BIN</code>: absolute path to openSSL binary | *<code>OPENSSL_BIN</code>: absolute path to openSSL binary |
Revision as of 19:44, 1 May 2007
Some environment variables are created and/or set by all Seon binaries. These variables are:
Seon_CFGFILE
: Seon main configuration file (absolute path information)Seon_IN_DIR
: incoming data directorySeon_OUT_DIR
: outgoing data directorySeon_TMP_DIR
: temporary data directorySeon_BIN_DIR
: binary program directorySeon_SCRIPT_DIR
: script installation directorySeon_BACKUP_DIR
: backup directoryRAND_FILE
: entropy file for OFTP2 needsOPENSSL_BIN
: absolute path to openSSL binaryRRDTOOL_BIN
: absolute path to RRDtools binaryRRDB_DATAPATH
: RRD data path
All processes started by Seon (event scripts, plugins, etc.) have access to these environment variables.
The environment variable "Seon_CFGFILE
" points to the absolute path to the Seon main configuration file. This has two effects:
- you may start Seon programs in a shell where this variable is set without using the parameter "
-C
" for all binaries (because the environment variable points to the correct position of the configfile) - all subsequent processes started by Seon (like event scripts) don't have to bother about the given configfile (like plugins of Seon Enterprise).