From d80e9a1c4804eae94a2d95b8c071c17fdc3226b9 Mon Sep 17 00:00:00 2001 From: Thomas Merkel Date: Thu, 29 Sep 2016 12:35:50 +0200 Subject: [PATCH] Enable gunicorn:limeade via zoneinit and not by default --- copy/opt/core/lib/svc/manifest/gunicorn.xml | 2 +- copy/var/zoneinit/includes/21-limeade.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/copy/opt/core/lib/svc/manifest/gunicorn.xml b/copy/opt/core/lib/svc/manifest/gunicorn.xml index b3d4d3a..b364416 100644 --- a/copy/opt/core/lib/svc/manifest/gunicorn.xml +++ b/copy/opt/core/lib/svc/manifest/gunicorn.xml @@ -30,7 +30,7 @@ - + diff --git a/copy/var/zoneinit/includes/21-limeade.sh b/copy/var/zoneinit/includes/21-limeade.sh index 0441637..fb0722a 100755 --- a/copy/var/zoneinit/includes/21-limeade.sh +++ b/copy/var/zoneinit/includes/21-limeade.sh @@ -9,3 +9,5 @@ SECRET_KEY=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-100}) -e "s:^TEMPLATE_DEBUG.*:TEMPLATE_DEBUG = False:g" \ -e "s:^ALLOWED_HOSTS.*:ALLOWED_HOSTS = \['${ALLOWED_HOST}', '127.0.0.1', 'localhost'\]:g" \ /var/www/limeade3/limeade3/settings.py + +svcadm enable svc:/network/gunicorn:limeade