From affb399cd9b09771b59b8eddea1de04719babfc8 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 17 Nov 2015 09:56:55 +0100 Subject: [PATCH] config: don't use hardcoded path It is better to use a transformation to define the default directory of output message instead of using an hardcoded value. Same apply to the directory for the pid file. --- suricata.yaml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suricata.yaml.in b/suricata.yaml.in index e19b855b06..d67b77f910 100644 --- a/suricata.yaml.in +++ b/suricata.yaml.in @@ -50,7 +50,7 @@ host-mode: auto # Default pid file. # Will use this file if no --pidfile in command options. -#pid-file: /var/run/suricata.pid +#pid-file: @e_rundir@suricata.pid # Daemon working directory # Suricata will change directory to this one if provided @@ -980,7 +980,7 @@ logging: # type: json - file: enabled: no - filename: /var/log/suricata.log + filename: @e_logdir@suricata.log # type: json - syslog: enabled: no -- 2.47.2