From aaa91b523fe321d8ebf4a0157ca3830ce5ce92e6 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 7 Sep 2018 11:32:33 +0000 Subject: [PATCH] Update 'NGINX-Installer.sh' --- NGINX-Installer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NGINX-Installer.sh b/NGINX-Installer.sh index a7d9c7f..72b9711 100644 --- a/NGINX-Installer.sh +++ b/NGINX-Installer.sh @@ -281,7 +281,7 @@ newaliases #-------------------# # NETDATA # #-------------------# -if [$netdata = 1] +if [ $netdata = 1 ] then bash <(curl -Ss https://my-netdata.io/kickstart.sh) ufw allow 19999/tcp @@ -293,7 +293,7 @@ fi # MEMCACHED # # 127.0.0.1:11211 # #-------------------# -if [$memcached = 1] +if [ $memcached = 1 ] then apt-get install memcached -y systemctl restart memcached @@ -304,7 +304,7 @@ fi # REDIS # # 127.0.0.1:6379 # #-------------------# -if [$redis = 1] +if [ $redis = 1 ] then apt install redis-server -y sed -i 's/supervised no/supervised systemd/g' /etc/redis/redis.conf