diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-01-25 21:01:29 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-01-25 21:01:29 -0800 |
commit | d3537462d567dcd80c060af9c602ddc618f4255b (patch) | |
tree | 9fd644df0c650604e349bf4d86b47075b1897110 | |
parent | 6025604266d9544beaabc7f4d7cbdb1963d1238a (diff) | |
download | txrban-d3537462d567dcd80c060af9c602ddc618f4255b.tar.gz txrban-d3537462d567dcd80c060af9c602ddc618f4255b.tar.bz2 txrban-d3537462d567dcd80c060af9c602ddc618f4255b.zip |
Use @(include) rather than @(load) to suppress unbound warnings.
-rw-r--r-- | apache.txr | 2 | ||||
-rw-r--r-- | exim.txr | 2 | ||||
-rw-r--r-- | ssh.txr | 2 | ||||
-rwxr-xr-x | startup.sh | 2 | ||||
-rw-r--r-- | txrban.txr | 4 |
5 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ -@(load "txrban") +@(include "txrban") @(next @(open-tail "/var/log/apache2/www.kylheku.com.log" "r" nil)) @(repeat) @ (all) @@ -1,4 +1,4 @@ -@(load "txrban") +@(include "txrban") @(next @(open-tail "/var/log/exim4/rejectlog" "r" nil)) @(repeat) @ (block continue) @@ -1,4 +1,4 @@ -@(load "txrban") +@(include "txrban") @(set *short-period* 15) @(set *short-limit* 15) @(set *short-ban* @(* 24 3600)) @@ -1,5 +1,5 @@ #!/bin/sh -PATH=$PATH:/usr/local/bin +PATH="/usr/local/bin:$PATH" MYDIR=$(dirname "$0") txr $MYDIR/apache.txr @@ -1,5 +1,5 @@ -@(load "config") -@(load "utils") +@(include "config") +@(include "utils") @(do (defstruct client-info nil (ip nil) |