Jacques Le Roux wrote: > Hi Matt, >> Debian/Ubuntu package in any "standard" D/U repository, though the build >> stuff seems to be there to make them. But I think compiling from source >> is as good or better for OFBiz, even for newbies. >> But I really see no need for a separate Debian version anyway. The >> Redhat version sources a couple of script files that won't exist on >> Debian, but those functions we actually use (or quick and dirty >> substitutes for them) can be handled with an alias statement or two >> under bash, or an environment variable (as we do with $JAVA now). In >> addition to "start", "stop" and "restart", we could include targets like >> "debug", "svninfo", "backup" or whatever else might be helpful to the >> community. I'd be happy to work on a more universal rc.script if the >> community feels that might be helpful. > > This is Adam's, I never looked at it closely
The stuff in debian makes it a proper install. It uses dbconfig-common, debconf, puts stuff in /etc/ofbiz, /var/lib/ofbiz, /var/log/ofbiz, /usr/share/ofbiz, always updates seed data each time it is upgraded, uses dpkg triggers to support extension packages. The package also does not install the source files(*.java), nor test code, as that's not required for a production server.
