thanks,
Raj BJ Freeman wrote:
# If root is running this script, su to $OFBIZ_USER first
if [ "$UID" = "0" ]; then
exec su - $OFBIZ_USER -c "$0 $1"
fi
I am using a command line thru web admin
/etc/rc.d/init.d/ofbiz restart
as root.
getting permission denied. on the
-c "$0 $1"
any linux gurus know what might cause this.
