Trond Norbye wrote: > >>>> >>> you just need the configuration there ( ... even a symlink is enough), >>> the rest can be in any directory, just the source.war needs to be >>> deployed to wherever your glassfish is >>> I think we might change the default config location to >>> /var/opengrok/etc/configuration.xml >> >> I think that makes sense for a default - or even move the whole thing >> to /usr/local/opengrok/. If someone is packaging for a particular >> distribution, they might change the packaged locations to match the >> distribution conventions (i.e. configs under /etc). >> > > I would say that the binaries should go in /usr/opengrok, the data in > /var/opengrok and config in /etc/opengrok. (alternatively: > /etc/opt/opengrok, /opt/opengrok /var/opt/opengrok ) > > See http://opensolaris.org/os/community/arc/policies/install-locations/ > for more information.
That makes sense for an opensolaris-specific package, but the package really isn't limited to that. And for someone's initial install and testing it is a lot handier to drop everything under one directory (any of /opt/opengrok, /var/opengrok, or /usr/local/opengrok would be suitable and a symlink could fix a mismatch with the destination system's conventions for local unpackaged additions). -- Les Mikesell lesmikesell at gmail.com