diff --git a/api/main.go b/api/main.go index d81effeb2..fc7357b25 100644 --- a/api/main.go +++ b/api/main.go @@ -15,7 +15,7 @@ func main() { app := fiber.New() - var harDir = flag.String("hardir", "/tmp/mizuhars", "Directory in which to store output har files") + var harDir = flag.String("hardir", "input", "Directory in which we read har files from") go inserter.StartReadingFiles(*harDir) // process to read files and insert to DB diff --git a/api/scripts/multi-runner.sh b/api/scripts/multi-runner.sh index b33967ee9..4e53c475f 100755 --- a/api/scripts/multi-runner.sh +++ b/api/scripts/multi-runner.sh @@ -1,7 +1,7 @@ #!/bin/bash # this script runs both executables and exits everything if one fails -./apiserver & +./apiserver -hardir /tmp/mizuhars & ./passivetapper -i any -hardump -hardir /tmp/mizuhars -harentriesperfile 50 & wait -n pkill -P $$