diff --git a/rhids/rhids b/rhids/rhids index 1ace959..6105428 100755 --- a/rhids/rhids +++ b/rhids/rhids @@ -1,4 +1,5 @@ #!/bin/bash -cd "$(dirname "$0")" && sudo java -jar rhids.jar $@ | sudo tee /var/log/rhids/output +time=$(date +%Y%m%d%H%M%S) +cd "$(dirname "$0")" && sudo java -jar rhids.jar $@ | sudo tee /var/log/rhids/output-$time