#!/bin/env sh

set -e

if [ ! -e /etc/arkime/cont3xt.ini ]; then
    cd /usr/lib/arkime
    ./bin/Configure --cont3xt
    echo "Please check and fill the config file /etc/arkime/cont3xt.ini"
    exit 0
fi

echo
echo "Config can be changed: /etc/arkime/cont3xt.ini"
echo "Then you will need to restart the service arkimecont3xt."
echo

kali-service-start arkimecont3xt 3218
