Files
SpecterOps-Nemesis/scripts/services_start.sh
2023-12-14 21:02:39 -08:00

12 lines
447 B
Bash
Executable File

#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $SCRIPT_DIR/../
# If any additional args are passed, start only the services module (no enrichment)
if [ $# -gt 0 ]; then
skaffold --update-check=false --interactive=false dev -m services -m dashboard --port-forward=user
else
skaffold --update-check=false --interactive=false dev -m services -m enrichment -m dashboard --port-forward=user
fi