James Iter пре 8 година
родитељ
комит
aa172e192c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      INSTALL.sh

+ 1 - 1
INSTALL.sh

@@ -154,7 +154,7 @@ function install_Redis() {
     # 配置 Redis
     echo 'vm.overcommit_memory = 1' >> /etc/sysctl.conf
     sysctl -p
-    sed -i '@^daemonize no@daemonize yes@g' /etc/redis.conf
+    sed -i 's@^daemonize no@daemonize yes@g' /etc/redis.conf
     sed -i 's@^bind 127.0.0.1@bind 0.0.0.0@g' /etc/redis.conf
     sed -i 's@^appendonly no@appendonly yes@g' /etc/redis.conf
     echo "requirepass ${REDIS_PSWD}" >> /etc/redis.conf