I'm writing a custom application that will be run as a service/daemon. According to convention, the binaries for it should be in /opt/appname. However, where do I put files such as:
- Config files
- Cache and storage
- Logs
|
I'm writing a custom application that will be run as a service/daemon. According to convention, the binaries for it should be in
| |||
|
feedback
|
|
If you're using | |||
|
feedback
|
|
Have a look at the Filesystem Hierarchy Standard which youd tell you what you want to know. | |||
|
feedback
|
|
Ideally, you don't care where it's installed, and you can configure the app at build or install time. If, for example, you're building an application that will run on Debian, you can create a .deb package and skip this entire question. | |||
feedback
|