Skip to content

Commit

Permalink
for #186, use runtime-logs share for Arkime logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Apr 19, 2023
1 parent 1c1d7d5 commit 7c49ae2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion arkime/scripts/viewer_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ while true; do
if [[ -f /var/run/arkime/initialized && "$VIEWER" == "on" ]]; then
echo "Launch viewer..."
rm -f $ARKIME_DIR/logs/viewer*
cd $ARKIME_DIR/viewer
pushd $ARKIME_DIR/viewer >/dev/null 2>&1
$ARKIME_DIR/bin/node viewer.js --insecure -c $ARKIME_DIR/etc/config.ini | tee -a $ARKIME_DIR/logs/viewer.log 2>&1
popd >/dev/null 2>&1
fi
sleep 5
done
3 changes: 1 addition & 2 deletions arkime/scripts/wise_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

# Copyright (c) 2023 Battelle Energy Alliance, LLC. All rights reserved.


while true; do
if [[ ("$WISE" == "on") && (-f /var/run/arkime/runwise) && (-f $ARKIME_DIR/etc/wise.ini) ]]; then
echo "Launch wise..."
rm -f $ARKIME_DIR/logs/wise*
pushd $ARKIME_DIR/wiseService >/dev/null 2>&1
$ARKIME_DIR/bin/node wiseService.js --insecure -c $ARKIME_DIR/etc/wise.ini
$ARKIME_DIR/bin/node wiseService.js --insecure -c $ARKIME_DIR/etc/wise.ini | tee -a $ARKIME_DIR/logs/wise.log 2>&1
popd >/dev/null 2>&1
fi
sleep 5
Expand Down

0 comments on commit 7c49ae2

Please sign in to comment.