updated user..

This commit is contained in:
2018-04-13 13:39:38 +02:00
committed by GitHub
parent 11bb4d8cf3
commit 338b933ab2
+3
View File
@@ -180,6 +180,7 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
mkdir -p /nginx/modsecurity/ mkdir -p /nginx/modsecurity/
cd /hostdata/default/public_html/ cd /hostdata/default/public_html/
wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/html/index.html wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/html/index.html
useradd nginx
sudo update-rc.d nginx defaults sudo update-rc.d nginx defaults
mkdir -p /tmp/; cd /tmp; wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/sysctl.conf mkdir -p /tmp/; cd /tmp; wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/sysctl.conf
@@ -211,6 +212,8 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
service fail2ban status service fail2ban status
nginx -t nginx -t
service nginx stop
service nginx start
;; ;;
centos) centos)