|
@@ -23,3 +23,10 @@ curl -s http://${domain}:${port}/v2/tools/init?key=rule
|
|
|
|
|
|
|
|
|
|
sed -i 's/^max_allowed_packet = 1M/max_allowed_packet = 16M/' /etc/my.cnf
|
|
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
|