# Agenten Plattform # # (c) 2024 Magnus Bender # Institute of Humanities-Centered Artificial Intelligence (CHAI) # Universitaet Hamburg # https://www.chai.uni-hamburg.de/~bender # # source code released under the terms of GNU Public License Version 3 # https://www.gnu.org/licenses/gpl-3.0.txt [supervisord] nodaemon=true user=root [program:setup] command=/bin/sh -c "chown user:user -R /ums-agenten" user=root autostart=true autorestart=false [fcgi-program:uvicorn] socket=unix:///tmp/uvicorn.sock command=/usr/local/bin/uvicorn ums.management.main:app --uds /tmp/uvicorn.sock --proxy-headers numprocs=4 process_name=uvicorn-%(process_num)d user=user autostart=true autorestart=true priority=10 [program:nginx] command=/usr/sbin/nginx -g 'daemon off;' autostart=true autorestart=true priority=20