Author: rmeggins
Update of /cvs/dirsec/dsmlgw/misc
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21063
Modified Files:
start-ds-dsmlgw.in
Log Message:
use su instead of su -
Index: start-ds-dsmlgw.in
===================================================================
RCS file: /cvs/dirsec/dsmlgw/misc/start-ds-dsmlgw.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- start-ds-dsmlgw.in 23 Apr 2008 16:55:58 -0000 1.1
+++ start-ds-dsmlgw.in 23 Apr 2008 18:28:53 -0000 1.2
@@ -26,7 +26,7 @@
# if root, use su to execute the startup script - user is set in
@initconfigdir@/@package_name@
if [ "$USER" = "root" ] ; then
- su - $CATALINA_USER -c "@tomcat_cmd@ $@"
+ su $CATALINA_USER -c "@tomcat_cmd@ $@"
else
@tomcat_cmd@ $@
fi
Show replies by date