File entry-point.sh of Package opensuse-velociraptor-container
#!/bin/sh
SERVER_CONFIG="/config/server.conf"
if test ! -e "${SERVER_CONFIG}"; then
echo "No config file found. Generating default at "${SERVER_CONFIG}"." >&2
/generate-config.sh
fi
exec velociraptor frontend -v --tempdir /data/tmp --config "${SERVER_CONFIG}"