From e96c4980078b06b54b8cabf08e3de0b6915cc753 Mon Sep 17 00:00:00 2001 From: bprieshof Date: Wed, 12 Jun 2019 13:39:18 +0200 Subject: [PATCH] Update 'NGINX-Installer.sh' --- NGINX-Installer.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NGINX-Installer.sh b/NGINX-Installer.sh index 28c3bee..13bf88f 100644 --- a/NGINX-Installer.sh +++ b/NGINX-Installer.sh @@ -262,7 +262,8 @@ if [ $redis = 1 ]; then sed -i 's/# bind 127.0.0.1 ::1/bind 127.0.0.1 ::1/g' /etc/redis/redis.conf sed -i 's/# requirepass foobared/# requirepass '$password'/g' /etc/redis/redis.conf git clone https://github.com/phpredis/phpredis.git /opt/phpredis - sed -i "\$a0 3 * * 1 root git clone https://github.com/phpredis/phpredis.git /opt/phpredis >/dev/null 2>&1" /etc/crontab + apt install -y php${phpver}-dev + #sed -i "\$a0 3 * * 1 root git clone https://github.com/phpredis/phpredis.git /opt/phpredis >/dev/null 2>&1" /etc/crontab # systemctl stop redis # systemctl disable redis fi