imag/scripts/run.sh
2025-01-30 22:43:32 -06:00

11 lines
211 B
Bash
Executable file

#!/usr/bin/env sh
set -eu
main() {
cd src
memcached --port=18391 --daemon --memory-limit=1024 --enable-largepages
python3 -m gunicorn -b 127.0.0.1:19721 -w "$(nproc --all)" main:app &
}
main "$@"