Update 'NGINX-Installer.sh'

This commit is contained in:
2018-09-07 11:32:33 +00:00
parent 7dbd728fdc
commit aaa91b523f

View File

@@ -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