Skip to content

Commit

Permalink
Make bin/plugin-server compatible with PostHog/plugin-server#34
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Dec 2, 2020
1 parent 3beaafe commit 2e48bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/plugin-server
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
KEYS="DATABASE_URL REDIS_URL PLUGINS_CELERY_QUEUE CELERY_DEFAULT_QUEUE BASE_DIR PLUGINS_RELOAD_PUBSUB_CHANNEL"
KEYS="DATABASE_URL REDIS_URL KAFKA_HOSTS EE_ENABLED PLUGINS_CELERY_QUEUE CELERY_DEFAULT_QUEUE BASE_DIR PLUGINS_RELOAD_PUBSUB_CHANNEL"
CONF=`python manage.py print_settings --format json --indent 0 $KEYS 2> /dev/null | tr -d '\n' | sed 's/\n$//'`
cd plugins && yarn --frozen-lockfile --silent && yarn --silent start --config "$CONF"

0 comments on commit 2e48bbe

Please sign in to comment.