src: whitespace police

This commit is contained in:
Franco Fichtner 2015-06-30 14:58:13 +02:00
parent 5b4185f234
commit cdb3fe97db
4 changed files with 8 additions and 8 deletions

View File

@ -186,7 +186,7 @@ system_hosts_generate();
interfaces_loopback_configure();
/* start syslogd */
configd_run("template reload OPNsense.Syslog");
configd_run("template reload OPNsense.Syslog");
system_syslogd_start();
echo "Starting Secure Shell Services...";

View File

@ -1,7 +1,7 @@
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
{% if helpers.exists('OPNsense.IDS.general') and OPNsense.IDS.general.enabled|default("0") == "1"%}
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
{% if helpers.exists('OPNsense.IDS.general') and OPNsense.IDS.general.enabled|default("0") == "1" %}
{% set intf = helpers.getNodeByTag('interfaces.'+OPNsense.IDS.general.interfaces.split(',')[0]).if %}
/var/log/suricata/stats.log root:wheel 640 7 * $D0 B /var/run/suricata_{{ intf }}.pid 1
/var/log/suricata.log root:wheel 640 7 * $D0 B /var/run/suricata_{{ intf }}.pid 1
/var/log/suricata/eve.json root:wheel 640 4 * $W0D23 B /var/run/suricata_{{ intf }}.pid 1
/var/log/suricata/stats.log root:wheel 640 7 * $D0 B /var/run/suricata_{{ intf }}.pid 1
/var/log/suricata.log root:wheel 640 7 * $D0 B /var/run/suricata_{{ intf }}.pid 1
/var/log/suricata/eve.json root:wheel 640 4 * $W0D23 B /var/run/suricata_{{ intf }}.pid 1
{% endif %}

View File

@ -337,4 +337,4 @@ delay_parameters 1 {{OPNsense.proxy.general.traffic.OverallBandwidthTrotteling|i
{% endif %}
{% endif %}
# Disable squid logfile rotate to use system defaults
logfile_rotate 0
logfile_rotate 0

View File

@ -19,4 +19,4 @@
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
<include> /etc/newsyslog.conf.d/*
<include> /usr/local/etc/newsyslog.conf.d/*
{# leave this line in place, needed to parse the correct end of line #}
{# leave this line in place, needed to parse the correct end of line #}