From ca62769cd3576ee50733dd1e0d6d300308eddd77 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Thu, 21 Dec 2023 20:17:10 +0100 Subject: [PATCH] Relocate logranger.toml and update .gitignore The logranger.toml file is moved to the 'etc' directory, and its pid_file location is updated. The .gitignore file is also edited to ignore local configuration files in the 'etc' directory to prevent them from being tracked. This creates a cleaner project structure and ensures local configurations are kept private. --- .gitignore | 3 +++ logranger.toml => etc/logranger.toml | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) rename logranger.toml => etc/logranger.toml (63%) diff --git a/.gitignore b/.gitignore index 10e030d..81f8ef7 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,6 @@ com_crashlytics_export_strings.xml crashlytics.properties crashlytics-build.properties fabric.properties + +# local confi files +etc/*.local.toml \ No newline at end of file diff --git a/logranger.toml b/etc/logranger.toml similarity index 63% rename from logranger.toml rename to etc/logranger.toml index a0b53e3..398787f 100644 --- a/logranger.toml +++ b/etc/logranger.toml @@ -3,7 +3,4 @@ # SPDX-License-Identifier: MIT [server] -pid_file = "/var/tmp/logranger.pid" - -[listener] -type = "tcp" +pid_file = "/var/run/logranger.pid" \ No newline at end of file