soelderer
soelderer

Reputation: 35

In Debian, where in the filesystem would a daemon provide dynamic measurement results?

For a diploma thesis, I am developing a Linux daemon that runs on Debian and is also Debian-packaged for easy administration. It reads various measurement results via I²C. The results shall be shown on a website.

In Debian, where in the filesystem would a daemon output such measurement data to be updated regularly and read from other applications or the user? To clearify, logging is done seperately, I would just have a few files containing the current values (just like you can read the CPU temperature in /proc).

From the FHS, these seem to be most fitting:

Where should it go?

Upvotes: 0

Views: 50

Answers (1)

dlmeetei
dlmeetei

Reputation: 10381

/var is structure for variable file. So keep it in /var/lib/you_application/

Upvotes: 0

Related Questions