mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 00:46:45 +01:00
67debacff2
This is needed to close https://github.com/PostHog/deployment/issues/32 and debug https://github.com/PostHog/posthog/issues/2135
14 lines
266 B
Bash
Executable File
14 lines
266 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
gunicorn posthog.wsgi \
|
|
--config gunicorn.config.py \
|
|
--bind 0.0.0.0:8000 \
|
|
--log-file - \
|
|
--log-level info \
|
|
--access-logfile - \
|
|
--worker-tmp-dir /dev/shm \
|
|
--workers=2 \
|
|
--threads=4 \
|
|
--worker-class=gthread
|