-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support additional locations for config file #9
Comments
Ulexus
added a commit
to CyCoreSystems/apiban
that referenced
this issue
Mar 28, 2020
This adds a few standard locations for the configuration file: - `os.UserConfigDir()`/apiban/config.json - /etc/apiban/config.json - ./config.json - user-specified config location Fixes palner#9 Signed-off-by: Seán C McCord <ulexus@gmail.com>
Ulexus
added a commit
to CyCoreSystems/apiban
that referenced
this issue
Mar 28, 2020
This adds a few standard locations for the configuration file: - `os.UserConfigDir()`/apiban/config.json - /etc/apiban/config.json - ./config.json - user-specified config location Also breaks out iptables initialization for clarity of main flow Fixes palner#9 Signed-off-by: Seán C McCord <ulexus@gmail.com>
Ulexus
added a commit
to CyCoreSystems/apiban
that referenced
this issue
Mar 28, 2020
This adds a few standard locations for the configuration file: - `os.UserConfigDir()`/apiban/config.json - /etc/apiban/config.json - ./config.json - user-specified config location Also breaks out iptables initialization for clarity of main flow Fixes palner#9 Signed-off-by: Seán C McCord <ulexus@gmail.com>
Ulexus
added a commit
to CyCoreSystems/apiban
that referenced
this issue
Mar 28, 2020
This adds a few standard locations for the configuration file: - `os.UserConfigDir()`/apiban/config.json - /etc/apiban/config.json - ./config.json - user-specified config location Also breaks out iptables initialization for clarity of main flow and allows alternative log locations. Fixes palner#9 Signed-off-by: Seán C McCord <ulexus@gmail.com>
Ulexus
added a commit
to CyCoreSystems/apiban
that referenced
this issue
Mar 28, 2020
This adds a few standard locations for the configuration file: - `os.UserConfigDir()`/apiban/config.json - /etc/apiban/config.json - ./config.json - user-specified config location Also breaks out iptables initialization for clarity of main flow and allows alternative log locations. Fixes palner#9 Signed-off-by: Seán C McCord <ulexus@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should support additional standard locations for the config file, such as:
The text was updated successfully, but these errors were encountered: