From: Eric Leblond Date: Tue, 17 Nov 2015 08:56:55 +0000 (+0100) Subject: config: don't use hardcoded path X-Git-Tag: suricata-3.0RC1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=affb399cd9b09771b59b8eddea1de04719babfc8;p=thirdparty%2Fsuricata.git 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. --- 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