16 lines
751 B
Plaintext
16 lines
751 B
Plaintext
$OpenBSD: patch-suricata-update_suricata_update_config_py,v 1.1 2019/02/12 09:27:16 gonzalo Exp $
|
|
|
|
Index: suricata-update/suricata/update/config.py
|
|
--- suricata-update/suricata/update/config.py.orig
|
|
+++ suricata-update/suricata/update/config.py
|
|
@@ -215,8 +215,7 @@ def init(args):
|
|
# Set the data-directory prefix to that of the --localstatedir
|
|
# found in the build-info.
|
|
if not DATA_DIRECTORY_KEY in _config and "localstatedir" in build_info:
|
|
- data_directory = os.path.join(
|
|
- build_info["localstatedir"], "lib/suricata")
|
|
+ data_directory = "/var/suricata"
|
|
logger.info("Using data-directory %s.", data_directory)
|
|
_config[DATA_DIRECTORY_KEY] = data_directory
|
|
|