mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-16 15:38:40 +00:00
default value in api is input
fix description and pass the parameter in the multi runner script
This commit is contained in:
parent
494b924dcb
commit
930f5178a7
@ -15,7 +15,7 @@ func main() {
|
|||||||
|
|
||||||
app := fiber.New()
|
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
|
go inserter.StartReadingFiles(*harDir) // process to read files and insert to DB
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# this script runs both executables and exits everything if one fails
|
# 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 &
|
./passivetapper -i any -hardump -hardir /tmp/mizuhars -harentriesperfile 50 &
|
||||||
wait -n
|
wait -n
|
||||||
pkill -P $$
|
pkill -P $$
|
||||||
|
Loading…
Reference in New Issue
Block a user