You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/06/20 10:09:05 UTC

svn commit: r669815 - /ofbiz/trunk/rc.ofbiz

Author: jleroux
Date: Fri Jun 20 01:09:05 2008
New Revision: 669815

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

Modified:
    ofbiz/trunk/rc.ofbiz

Modified: ofbiz/trunk/rc.ofbiz
URL: http://svn.apache.org/viewvc/ofbiz/trunk/rc.ofbiz?rev=669815&r1=669814&r2=669815&view=diff
==============================================================================
--- ofbiz/trunk/rc.ofbiz (original)
+++ ofbiz/trunk/rc.ofbiz Fri Jun 20 01:09:05 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