mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-07 17:20:13 +01:00
add system adaption for config path
This commit is contained in:
parent
478868c225
commit
449c8f9726
|
|
@ -27,10 +27,11 @@ ROOT_PATH = os.path.dirname(sys.modules['boswatch'].__file__).replace("\\", "/")
|
|||
# implements a system adaption for the paths
|
||||
if platform.system() == "Linux":
|
||||
LOG_PATH = "/var/log/boswatch/"
|
||||
CONFIG_PATH = "/etc/boswatch/"
|
||||
else:
|
||||
LOG_PATH = ROOT_PATH + "log/"
|
||||
CONFIG_PATH = ROOT_PATH + "config/"
|
||||
|
||||
CONFIG_PATH = ROOT_PATH + "config/"
|
||||
PLUGIN_PATH = ROOT_PATH + "plugins/"
|
||||
CSV_PATH = ROOT_PATH + "csv/"
|
||||
BIN_PATH = ROOT_PATH + "_bin/"
|
||||
|
|
|
|||
Loading…
Reference in a new issue