Skip to content

Commit

Permalink
Remove usage of -connect argument
Browse files Browse the repository at this point in the history
Setting the argument is not necessary anymore, because the default
values are taken from the environment.
  • Loading branch information
fgrsnau committed Nov 16, 2019
1 parent c8297a5 commit bd61ca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -e
cd /tmp/go/src/github.com/nnev/website/www
termine -hook=/build_website.sh -connect="dbname=nnev host=$PGHOST sslmode=disable" next 4
termine -hook=/build_website.sh next 4
jekyll build
exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
4 changes: 2 additions & 2 deletions nnev-website-supervisor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0

[program:c14h]
command=/tmp/go/bin/c14h -template=/tmp/go/src/github.com/nnev/website/www/_site/edit_c14.html -listen=localhost:6725 -connect="dbname=nnev host=%(ENV_PGHOST)s sslmode=disable" -hook=/build_website.sh
command=/tmp/go/bin/c14h -template=/tmp/go/src/github.com/nnev/website/www/_site/edit_c14.html -listen=localhost:6725 -hook=/build_website.sh
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0

[program:yarpnarp]
command=/tmp/go/bin/yarpnarp -template=/tmp/go/src/github.com/nnev/website/www/_site/yarpnarp.html -listen=localhost:5417 -connect="dbname=nnev host=%(ENV_PGHOST)s sslmode=disable" -hook=/build_website.sh
command=/tmp/go/bin/yarpnarp -template=/tmp/go/src/github.com/nnev/website/www/_site/yarpnarp.html -listen=localhost:5417 -hook=/build_website.sh
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down

0 comments on commit bd61ca5

Please sign in to comment.