should be rebuild
authorSam <sam.saffron@gmail.com>
Sat, 4 Jun 2016 01:57:12 +0000 (11:57 +1000)
committerSam <sam.saffron@gmail.com>
Sat, 4 Jun 2016 01:57:12 +0000 (11:57 +1000)
templates/postgres.template.yml
templates/redis.template.yml

index babaac565d605301d85a3e1fdf65a731a2bf49ab..f9517ddc21f03d212c1d2f23ce82e21850d1161c 100644 (file)
@@ -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
index 6ac852ce534796ed4c839587d809d42b7023e039..12b75d03bb132ccc247dc5c6e3792e39eddf513a 100644 (file)
@@ -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: