segfault
segfault

Reputation: 519

Where do Linux daemons store their data files?

We know, that normal applications store their (user-specific) data under:

/home/<user>/.<application>/

Where do Linux daemons (services) store their data files ?
Where goes data of ssh, thermald, wpa_supplicant, snapd etc. ?

Upvotes: 0

Views: 1815

Answers (1)

dcorking
dcorking

Reputation: 1206

Variable data files are stored under /var. It is beyond the scope of an SE answer to describe the various sub-directories and the uses that the programmer and administrator of a daemon may make of them.

Linux Filesystem Hierarchy Standard version 3, section 5.1 says

/var contains variable data files. This includes spool directories and files, administrative and logging data, and transient and temporary files.

Upvotes: 1

Related Questions