Hi Guys, I am having some issues on getting working ofbiz as a service. Followed the setup guide and it did not work. The problem is that a call to /etc/init.d/ofbiz returns "access denied" error when is called by root user.
Here is the original code from "ofbiz.rc" script: # If root is running this script, su to $OFBIZ_USER first if [ "$UID" = "0" ]; then exec su - $OFBIZ_USER -c "$0 $1" fi ANd what I have changed was change "$0" to an absolute path of "/etc/init.d/ofbiz" because otherwise it gave a "no such file error". So now it looks like: # If root is running this script, su to $OFBIZ_USER first if [ "$UID" = "0" ]; then exec su - $OFBIZ_USER -c "/etc/init.d/ofbiz $1" fi it founds the service file but gives permission error. Anyone faced this problem? -- View this message in context: http://ofbiz.135035.n4.nabble.com/ofbiz-rc-running-ofbiz-on-linux-as-a-service-tp4646924.html Sent from the OFBiz - User mailing list archive at Nabble.com.
