From: Sam Date: Sat, 4 Jun 2016 01:57:12 +0000 (+1000) Subject: should be rebuild X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1475ee4554ba7895cf3410f6181bb96155c7b5b3;p=discourse_docker.git should be rebuild --- diff --git a/templates/postgres.template.yml b/templates/postgres.template.yml index babaac5..f9517dd 100644 --- a/templates/postgres.template.yml +++ b/templates/postgres.template.yml @@ -116,7 +116,7 @@ run: echo echo Old ${PG_MAJOR_OLD} database is stored at /shared/postgres_data_old echo - echo Please run "./launcher bootstrap" again + echo Please run "./launcher rebuild" again echo ------------------------------------------------------------------------------------- # Magic exit status to denote no failure exit 77 diff --git a/templates/redis.template.yml b/templates/redis.template.yml index 6ac852c..12b75d0 100644 --- a/templates/redis.template.yml +++ b/templates/redis.template.yml @@ -45,6 +45,13 @@ run: - exec: cmd: echo redis installed hook: redis + - exec: cat /etc/redis/redis.conf | grep logfile + + - exec: + background: true + cmd: exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf + + - exec: sleep 10 # we can not migrate without redis, launch it if needed hooks: