Skip to content

Commit

Permalink
Enable gunicorn:limeade via zoneinit and not by default
Browse files Browse the repository at this point in the history
  • Loading branch information
drscream committed Sep 29, 2016
1 parent 0e92ad3 commit d80e9a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion copy/opt/core/lib/svc/manifest/gunicorn.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<propval name='worker' type='integer' value='1'/>
</property_group>
</instance>
<instance name='limeade' enabled='true'>
<instance name='limeade' enabled='false'>
<method_context working_directory='/var/www/limeade3'>
<method_environment>
<envvar name='PATH' value='/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/sbin:/bin'/>
Expand Down
2 changes: 2 additions & 0 deletions copy/var/zoneinit/includes/21-limeade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d80e9a1

Please sign in to comment.