Skip to content

Commit

Permalink
Fix to get a newline after program:
Browse files Browse the repository at this point in the history
This was causing redis server to not start up as command string was coming in same line as program:
  • Loading branch information
judyjoseph committed Jun 29, 2020
1 parent 1390649 commit 80e77b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockers/docker-database/supervisord.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ stderr_logfile=syslog
{% if INSTANCES %}
{% for redis_inst, redis_items in INSTANCES.iteritems() %}
[program: {{ redis_inst }}]
{%- if redis_items['hostname'] != '127.0.0.1'-%}
{%- set LOOPBACK_IP = '127.0.0.1'-%}
{% if redis_items['hostname'] != '127.0.0.1' %}
{%- set LOOPBACK_IP = '127.0.0.1' -%}
{%- else -%}
{%- set LOOPBACK_IP = '' -%}
{%- endif -%}
Expand Down

0 comments on commit 80e77b2

Please sign in to comment.