Skip to content

Commit

Permalink
Allow for concurrent runs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrabed committed Aug 13, 2015
1 parent 367b7e2 commit 6205f10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rhids/rhids
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6205f10

Please sign in to comment.