oubo 5 gadi atpakaļ
vecāks
revīzija
337caf868d
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7 0
      data/upgrade/v2.0.0/v2.0.0.sh

+ 7 - 0
data/upgrade/v2.0.0/v2.0.0.sh

@@ -61,3 +61,10 @@ if [ ! -x "$(command -v wkhtmltopdf)"  ]; then
 fi
 
 sed -i 's/^max_allowed_packet = 1M/max_allowed_packet = 16M/' /etc/my.cnf
+
+if [ ! -f /etc/init.d/redis ];then
+    wget -O /etc/init.d/redis http://mi.lacecdn.com/docker/init.d.redis
+    chmod +x /etc/init.d/redis
+    service redis start
+    chkconfig redis on
+fi