This is a little cleaner:

start script
/pathTo/ofbiz/jsvc -pidfile ofbiz.pid -user someNonRootUser $VMARGS -cp
tools.jar:commons-daemon.jar:ofbiz.jar org.ofbiz.base.start.Start
>>$OFBIZ_LOG 2>>$OFBIZ_LOG&

stop script
PID_FILE="/pathTo/ofbiz/ofbiz.pid"
/pathTo/ofbiz/jsvc -stop -pidfile $PID_FILE
org.apache.catalina.startup.Bootstrap rc_status -v

add someNonRootUser to sudoers to run jsvc, and start|stop scripts.
-- 
View this message in context: 
http://n4.nabble.com/binding-ofbiz-ports-80-443-non-root-without-apache-tp1016963p1055776.html
Sent from the OFBiz Installation mailing list archive at Nabble.com.

Reply via email to