I'm trying to put together a small piece of software, and I wanted to know the appropriate place to put various items if I'm setting to use /usr/local.
For example, under /usr/local I will have:
bin etc lib
But what about variable data like logs? Does they still go to /var/log? It seems weird to pollute /var/log with something non-standard running out of /usr/local.
What about other input data that isn't considered runnable code? I noticed that some software uses /usr/local/PKG-NAME/ to store this kind of data.
Oh and I also have to put a lockfile somewhere.