Alignak-monitoring-contrib / alignak-app

Desktop application in system tray for Alignak users.
GNU Affero General Public License v3.0
6 stars 2 forks source link

Review configuration files location #236

Closed algorys closed 6 years ago

algorys commented 6 years ago

If we want in future install App as a root user (as in #222), configuration files place should be reviewed for Linux. Not only in $HOME/alignak_app folder but also in /usr/local/alignak_app for Debian like and adding other folder for other distributions.

The app_workdir should be also review maybe with an environment variable, called "APPWORKDIR" in every system.

CSS and images should also follow the same changes to ensure that all files are located inside app_workdir.

algorys commented 6 years ago

Configuration files can now be located in different directories. But environment variables need to be reviewed.

Maybe we can locate the bin/alignak_app.py to get app_dir value ?

algorys commented 6 years ago

Done.