Nginx » Monitor & Restart HTTPD / NGINX conf & more service
Monitor service up/down & auto restart //httpd (apache) vim /root/apacherestart.sh #!/bin/bash PGREP=/usr/bin/pgrep CHKSERVICE=httpd $PGREP ${CHKS..
Monitor service up/down & auto restart //httpd (apache) vim /root/apacherestart.sh #!/bin/bash PGREP=/usr/bin/pgrep CHKSERVICE=httpd $PGREP ${CHKS..
apt-get update; apt-get upgrade -y cd /tmp wget http://vestacp.com/pub/vst-install.sh #wget http://vestacp.com/pub/vst-install-debian.sh #sed -i 's/ph..
Nginx + DirectAdmin cd /tmp wget http://nginx.org/download/nginx-1.5.10.tar.gz tar xzvf nginx-1.5.10.tar.gz cd nginx-1.5.10 ./configure --sbin-path=/u..