added Malcolm

This commit is contained in:
2021-08-06 10:35:01 +02:00
parent f043730066
commit 70f1922e80
751 changed files with 195277 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
# Copyright (c) 2021 Battelle Energy Alliance, LLC. All rights reserved.
while true; do
if [[ ("$WISE" == "on") && (-f /var/run/moloch/runwise) && (-f $ARKIMEDIR/etc/wise.ini) ]]; then
echo "Launch wise..."
pushd $ARKIMEDIR/wiseService >/dev/null 2>&1
$ARKIMEDIR/bin/node wiseService.js -c $ARKIMEDIR/etc/wise.ini
popd >/dev/null 2>&1
fi
sleep 5
done