From 90269e40e5b5ca1e6ce2e89f85883a379ba581ca Mon Sep 17 00:00:00 2001 From: Chteufleur Date: Thu, 29 Sep 2016 20:18:12 +0200 Subject: [PATCH] =?UTF-8?q?Add=20subdirectory=20=C2=AB=C2=A0http-auth?= =?UTF-8?q?=C2=A0=C2=BB=20for=20configuration=20file.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 79587da..0d4f37c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Or, in order to build the project you can run the command ``go build main.go``. It will generate a binary that you can run as any binary file. ### Configure -Configure the gateway by editing the ``httpAuth.conf`` file in order to give all XMPP and HTTP server informations. This configuration file has to be placed following the [XDG specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html). +Configure the gateway by editing the ``httpAuth.conf`` file in order to give all XMPP and HTTP server informations. This configuration file has to be placed following the [XDG specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) (example ``/etc/xdg/http-auth/httpAuth.conf``). An example of the config file can be found in [the repos](https://git.kingpenguin.tk/chteufleur/HTTPAuthentificationOverXMPP/src/master/httpAuth.conf). XMPP diff --git a/main.go b/main.go index 6838092..6e3dbf2 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ import ( const ( Version = "v0.5-dev" - configurationFilePath = "httpAuth.conf" + configurationFilePath = "http-auth/httpAuth.conf" PathConfEnvVariable = "XDG_CONFIG_DIRS" DefaultXdgConfigDirs = "/etc/xdg" )