From 1475ee4554ba7895cf3410f6181bb96155c7b5b3 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 4 Jun 2016 11:57:12 +1000 Subject: [PATCH] should be rebuild --- templates/postgres.template.yml | 2 +- templates/redis.template.yml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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: -- 2.25.1