Sorry - forgot to cc ilug.
On 12 May 2010 17:37, Rory Browne <rbmlist at gmail.com> wrote:
> Personally if it was a commercial app, meant to live in it's own
> little sandbox/world, I'd put everything under /usr/local/appname
>> In your case, I'd put
>> executables in /usr/local/killerapp/bin
> config in /usr/local/killerapp/etc, or /usr/local/killerapp/conf (
> depending on the mood I'm in, or if either convention is already in
> use or not - I've seen both used )
> libs in /usr/local/killerapp/lib
> logs /usr/local/killerapp/var/log
>> I also have /opt symlinked to /usr/local, but find /opt akward to type
> ( no - I don't know why ), but yeah, that's just me, what I do on my
> own systems ( not work ones ), it probably doesn't fit with some
> standard, but often keeping my stuff separate from the rest of the
> system, had been more important than following standards.
>> I think the most important thing is that these be configurable, and
> not tie yourself into a particular filesystem layout.
>>>> On 12 May 2010 16:45, Ray Odonnell <ray.odonnell at ireland.com> wrote:
>> Thanks for quick response.
>>>> I'm very familiar with FHS, it is the inconsistencies in it that raise the question, and I'm looking for real-world knowledge:
>>>> Suppose I write a closed-source architecture-independent application named "killerapp" which has some binaries, some config files, and writes logs.
>>>> Do the binaries go in:
>> /opt/killerapp
>> /opt/killerapp/bin
>> /usr/bin
>> /usr/local/bin
>> /usr/share/killerapp
>> /usr/local/share/killerapp
>>>> Do the config files go in:
>> /etc/killerapp
>> /etc/opt/killerapp
>> /opt/killerapp/conf
>>>> Do the logs go in:
>> /opt/killerapp/logs
>> /var/logs/killerapp
>> /var/spool/killerapp
>>>> What do real people with real commercial apps do here? What do Ilug'ers see as best practice?
>>>> Regards
>> Ray
>>>>>> ----- Original Message -----
>> From: "Ivan Griffin" <ivan at skynet.ie>
>> To: ilug at linux.ie>> Sent: Wednesday, 12 May, 2010 16:03:47 GMT +00:00 GMT Britain, Ireland, Portugal
>> Subject: Re: [ILUG] Application Locations
>>>>>> Have you taken a look at the Linux Filesystem Hierarchy Standard?
>> (http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard gives a good
>> overview)...
>>>> Best Regards,
>> Ivan.
>>>> On Wed, 12 May 2010, Ray Odonnell wrote:
>>>>> Dear Ilug
>>>>>>>>> What is the correct or preferred location for an application to store its configuration files. I've seen various standards over the years but /usr/share seems particularly popular at the moment - is this the best place? What factors would influence the choice?
>>>>>> I have the same question in regard to log files. Should these go somehere in /var/log or should that be reserved for system logs as opposed to application logs.
>>>>>> Regards
>>> Ray O'Donnell
>>> --
>>> Irish Linux Users' Group mailing list
>>> About this list : http://mail.linux.ie/mailman/listinfo/ilug>>> Who we are : http://www.linux.ie/>>> Where we are : http://www.linux.ie/map/>>>>>>>> --
>> Irish Linux Users' Group mailing list
>> About this list : http://mail.linux.ie/mailman/listinfo/ilug>> Who we are : http://www.linux.ie/>> Where we are : http://www.linux.ie/map/>> --
>> Irish Linux Users' Group mailing list
>> About this list : http://mail.linux.ie/mailman/listinfo/ilug>> Who we are : http://www.linux.ie/>> Where we are : http://www.linux.ie/map/>>>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!