I'm managing this open source project PM2 and I have a decision to take about where to put all configuration files.
Currently I store all these files under $HOME/.pm2/
, but some user permissions can mess up with that logic.
What is the folder that is common and exists to 100% of Arch/Debian/Ubuntu/Linux/BSD/Unix... based system, to store configuration files ?
In Linux/Unix, many programs usually keep config in /etc/ and use subfolder in /var/ for other files. See also on Wikipedia File System Hierarchy Standard