From 338b933ab22b0d2031cf41fe1218a83461476780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C6=ACHE=20=D0=AFAW=20=E2=98=A3?= Date: Fri, 13 Apr 2018 13:39:38 +0200 Subject: [PATCH] updated user.. --- install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install b/install index 8f935b1..dc179d8 100644 --- a/install +++ b/install @@ -180,6 +180,7 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in mkdir -p /nginx/modsecurity/ cd /hostdata/default/public_html/ wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/html/index.html + useradd nginx 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 @@ -211,6 +212,8 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in service fail2ban status nginx -t + service nginx stop + service nginx start ;; centos)