0

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 ?

Unitech
  • 5,781
  • 5
  • 40
  • 47

1 Answers1

3

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

Sanket
  • 746
  • 3
  • 13
  • 26