Author: paszczus Date: Tue Jan 17 08:00:25 2012 GMT Module: packages Tag: HEAD ---- Log message: - fixed config file
---- Files affected: packages/otrs: otrs.sysconfig (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/otrs/otrs.sysconfig diff -u /dev/null packages/otrs/otrs.sysconfig:1.1 --- /dev/null Tue Jan 17 09:00:26 2012 +++ packages/otrs/otrs.sysconfig Tue Jan 17 09:00:20 2012 @@ -0,0 +1,73 @@ +# -- +# rcscript config settings for OTRS (http://otrs.org/) +# -- +# $Id$ +# -- + +# +# program name +# +OTRS_PROG="OTRS" + +# +# OTRS home (root) directory +# +OTRS_ROOT=/usr/share/otrs + +# if one of this is false, it will not be checked at the startup! +# Note: (may be the database isn't on the same host! --> DB_RUNNING=0) +# +OTRS_DB_RUNNING=1 +OTRS_HTTP_RUNNING=1 +OTRS_CRON_RUNNING=1 + +# +# Used database [mysql|postgresql] +# Note: Take care, that you have changed the Config.pm database settings! +# +OTRS_USED_DB=mysql +#OTRS_USED_DB_TEST="ps --pid $(cat /var/lib/mysql/$HOST.pid)" +OTRS_USED_DB_TEST="/sbin/service $OTRS_USED_DB status" +# --- The Wonderfull redhat's mysql init script does not have a status check.. sucks +#OTRS_USED_DB=postgresql +#OTRS_USED_DB_RCSCRIPT="service $OTRS_USED_DB status| grep 'is running' > /dev/null 2>&1" + + +# +# Used webserver [apache] +# +OTRS_USED_WEBSERVER=httpd #Redhat's default httpd is apache.. +OTRS_USED_WEBSERVER_TEST="/sbin/service httpd status | grep 'is running'" + +# +# cron stuff +# +OTRS_CRON_DIR=$OTRS_ROOT/var/cron +OTRS_CRON_TMP_FILE=$OTRS_ROOT/var/tmp/cron +OTRS_CRON_USER=" -u otrs " + +# +# location of otrs.PostMaster.pl +# +OTRS_POSTMASTER=$OTRS_ROOT/bin/otrs.PostMaster.pl + +# +# location of otrs.CheckDB.pl +# +OTRS_CHECKDB=$OTRS_ROOT/bin/otrs.CheckDB.pl + +# +# location of OTRS spool dir +# +OTRS_SPOOLDIR=$OTRS_ROOT/var/spool + +# +# OTRS location - means http://host/$OTRS_HTTP_LOCATION/index.pl +# +OTRS_HTTP_LOCATION="otrs" + +# +# get host name +# +OTRS_HOST=`hostname -f` + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
