Runner-42 / HomeDomotica

HomeDomitica system based on Raspberry Pi
0 stars 0 forks source link

RPiProcessFramework: extend program arguments to include configuration file location #3

Closed Runner-42 closed 6 years ago

Runner-42 commented 6 years ago

Add feature to allow a parameter to set the folder where the configuration file is located. Currently the location is set as default to "/home/homedomotica". It can be changed in the code when creating an instance of the RPiProcessFramework class, but this is not flexible enough and requires a code change each time the location of the configuation file changes. Since the folder structure on the dev/test environment is different than the production, this feature is more than usefull.