summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-14 11:18:46 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-14 11:26:19 +0100
commite7c4e16602f39e7c43c47a7d086cc4a8445fa2fa (patch)
treec3ea0a3725e627867c8a8be0c7652aba1e71f27c
parent944fef7b04f67ef18c445d4c825a39952f7d8e73 (diff)
main: use etc folder instead of cfg to store .json configuration file
debian packages use etc, so update source code to use this folder too.
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 8b043f7..b9fc3f4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -25,7 +25,7 @@ static struct option og_server_opts[] = {
{ NULL },
};
-#define OG_SERVER_CFG_JSON "/opt/opengnsys/cfg/ogserver.json"
+#define OG_SERVER_CFG_JSON "/opt/opengnsys/etc/ogserver.json"
#define OG_SERVER_REPO_PATH "/opt/opengnsys/images"
struct og_server_cfg ogconfig = {