SOURCES: oracle-xe.init - do not send daemon output to /dev/drzewo

pawelz pawelz at pld-linux.org
Sat Mar 14 19:05:56 CET 2009


Author: pawelz                       Date: Sat Mar 14 18:05:56 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- do not send daemon output to /dev/drzewo

---- Files affected:
SOURCES:
   oracle-xe.init (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/oracle-xe.init
diff -u SOURCES/oracle-xe.init:1.4 SOURCES/oracle-xe.init:1.5
--- SOURCES/oracle-xe.init:1.4	Sat Mar 14 05:19:24 2009
+++ SOURCES/oracle-xe.init	Sat Mar 14 19:05:50 2009
@@ -83,18 +83,18 @@
 	if [ ! -f /var/lock/subsys/oracle-xe ]; then
 		confkernel
 		msg_starting 'oracle-xe listener'
-		daemon --user oracle $ORACLE_HOME/bin/lsnrctl start > /dev/null 2>&1
+		daemon --user oracle $ORACLE_HOME/bin/lsnrctl start
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] || return 1
 
 		msg_starting 'oracle-xe database'
-		daemon --user oracle $ORACLE_HOME/bin/sqlplus -s /nolog @$ORACLE_HOME/config/scripts/startdb.sql > /dev/null 2>&1
+		daemon --user oracle $ORACLE_HOME/bin/sqlplus -s /nolog @$ORACLE_HOME/config/scripts/startdb.sql
 		RETVAL=$?
 		if [ $RETVAL -eq 0 ]; then
 			touch /var/lock/subsys/oracle-xe
 		else
 			msg_stopping 'oracle-xe listener'
-			daemon --user oracle $ORACLE_HOME/bin/lsnrctl stop > /dev/null 2>&1
+			daemon --user oracle $ORACLE_HOME/bin/lsnrctl stop
 		fi
 	else
 		msg_already_running oracle-xe
@@ -105,9 +105,9 @@
 	if [ -f /var/lock/subsys/oracle-xe ]; then
 		# Stop daemons.
 		msg_stopping 'oracle-xe database'
-		daemon --user oracle $ORACLE_HOME/bin/sqlplus -s /nolog @$ORACLE_HOME/config/scripts/stopdb.sql > /dev/null 2>&1
+		daemon --user oracle $ORACLE_HOME/bin/sqlplus -s /nolog @$ORACLE_HOME/config/scripts/stopdb.sql
 		msg_stopping 'oracle-xe listener'
-		daemon --user oracle $ORACLE_HOME/bin/lsnrctl stop > /dev/null 2>&1
+		daemon --user oracle $ORACLE_HOME/bin/lsnrctl stop
 		rm -f /var/lock/subsys/oracle-xe
 	else
 		msg_not_running oracle-xe
@@ -128,7 +128,7 @@
 	if [ -f /var/lock/subsys/oracle-xe ]; then
 		# Stop daemons.
 		show 'Checking if oracle-xe is alive'
-		daemon --user oracle $ORACLE_HOME/bin/lsnrctl status > /dev/null 2>&1
+		daemon --user oracle $ORACLE_HOME/bin/lsnrctl status
 		return $1
 	else
 		msg_not_running oracle-xe
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/oracle-xe.init?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list