On Mar 18, 2009, at 3:50 PM, Les Mikesell wrote:

> Lubos Kosco wrote:
>> Pranab Panda (pkpanda) wrote:
>>> Thanks But then everyone has to use the /etc/opengrok pathname
>>> To install Which is not always desirable.
>>> I got opengrok installation files under /usr/local
>>> And installed under /opt/opengrok/...
>>> If it's just question of putting the configuration.xml
>>> File under /etc/.... , it is ok, but having the whole
>>> Setup of opengrok/source, opengrok/data under /etc
>>> Is not ideal for various reasons
>>>
>> 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.


Cheers,

Trond


Reply via email to