Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Under LINUX where should application initialization and support files be placed?

Tags:

java

linux

I'm coding a Java application which when operational will start when the headless computer boots to control and save data from digital cameras. The app requires some initialization files, other support files, and a folder for logs which I have put in /usr/local/data. The folder "data" is read/write for everyone. A remote user will need to access initialization files from time to time.

Is this a good place for this? Does LINUX use a standard place for application files and folders?

like image 845
Nate Lockwood Avatar asked Feb 26 '26 23:02

Nate Lockwood


1 Answers

There are a few standards to pick from.

IMHO, creating a user to run the process with configuration and data under its home directory is the best way to keep everything in one place (thats easy to find)

like image 108
Peter Lawrey Avatar answered Mar 01 '26 11:03

Peter Lawrey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!