Alignak-monitoring / alignak

Monitoring tool, highly flexible and new standard oriented
https://alignak-monitoring.github.io
GNU Affero General Public License v3.0
86 stars 19 forks source link

Alignak installation directory #254

Closed mohierf closed 9 years ago

mohierf commented 9 years ago

Whether Alignak is installation from distro's packages, from pip of from source code, is there any means to find out the main application paths (etc, lib, ...)?

When installed from source repository, everything seems to be installed in /usr/local ...

Seb-Solon commented 9 years ago

Yeah pip and setup.py should not write directly in system path such as /etc. packages are made for that. You have the install path in the installation log if you don't know where it is

mohierf commented 9 years ago

I found out that Alignak installs an /usr/local/etc/default/alignak or /etc/default/alignak file where all the path information are present:

## These vars will override the hardcoded ones in init script ##
ETC=/usr/local/etc/alignak
VAR=/usr/local/var/lib/alignak
BIN=/usr/local/bin
RUN=/usr/local/var/run/alignak
LOG=/usr/local/var/log/alignak

I used this file to get the default paths ...