Replaces the minimal project description with a comprehensive README including a component overview table, quick start instructions, common Ansible operations, and links to detailed documentation. Aligns with Red Panda Approval™ standards.
18 lines
675 B
Django/Jinja
18 lines
675 B
Django/Jinja
[Unit]
|
|
Description=MCP Switchboard - Django Application
|
|
After=network.target postgresql.service rabbitmq-server.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
User={{ mcp_switchboard_user }}
|
|
Group={{ mcp_switchboard_group }}
|
|
WorkingDirectory={{ mcp_switchboard_directory }}
|
|
Environment="PATH={{ mcp_switchboard_directory }}/.venv/bin:/usr/local/bin:/usr/bin:/bin"
|
|
EnvironmentFile={{ mcp_switchboard_directory }}/.env
|
|
ExecStart={{ mcp_switchboard_directory }}/.venv/bin/gunicorn mcp_switchboard.wsgi:application --bind {{ mcp_switchboard_bind_host | default('0.0.0.0') }}:{{ mcp_switchboard_port }} --workers 4 --timeout 120
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|