svn commit: r669814 - /ofbiz/branches/release4.0/rc.ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r669814 - /ofbiz/branches/release4.0/rc.ofbiz

jleroux@apache.org
Author: jleroux
Date: Fri Jun 20 01:08:57 2008
New Revision: 669814

URL: http://svn.apache.org/viewvc?rev=669814&view=rev
Log:
Some more comments for Debian, etc.

Modified:
    ofbiz/branches/release4.0/rc.ofbiz

Modified: ofbiz/branches/release4.0/rc.ofbiz
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/rc.ofbiz?rev=669814&r1=669813&r2=669814&view=diff
==============================================================================
--- ofbiz/branches/release4.0/rc.ofbiz (original)
+++ ofbiz/branches/release4.0/rc.ofbiz Fri Jun 20 01:08:57 2008
@@ -25,10 +25,12 @@
 # description: OFBiz server
 
 # Source function library
-# this does not exist in Debian/Ubuntu/etc. => use "echo failure" and "echo success" in place of echo_failure and echo_success (minor anyway)
+# this does not exist in Debian/Ubuntu/etc.
+# => comment out and use "echo failure" and "echo success" in place of echo_failure and echo_success (minor anyway)  
 . /etc/rc.d/init.d/functions
 
 # Source networking configuration
+# this does not exist in Debian/Ubuntu/etc. => comment out  
 . /etc/sysconfig/network
 
 # Paths - Edit for your locations
@@ -122,6 +124,8 @@
 }
 
 # If root is running this script, su to $OFBIZ_USER first
+# Note that under Debian/Ubuntu/etc. you should use instead
+# if [ "$USER" = "root" ]; then
 if [ "$UID" = "0" ]; then
     exec su - $OFBIZ_USER -c "$0 $1"
 fi