Files
affine-cloudron/run-manticore.sh
2025-11-16 07:18:11 -06:00

11 lines
280 B
Bash

#!/bin/bash
set -euo pipefail
MANTICORE_CONF=${MANTICORE_CONF:-/app/data/manticore/manticore.conf}
MANTICORE_RUN_DIR=${MANTICORE_RUN_DIR:-/run/manticore}
mkdir -p "$MANTICORE_RUN_DIR"
rm -f "$MANTICORE_RUN_DIR/searchd.pid"
exec /usr/bin/searchd --nodetach -c "$MANTICORE_CONF"