diff --git a/lsyncd.sh b/lsyncd.sh index fdd9315..b181d6d 100644 --- a/lsyncd.sh +++ b/lsyncd.sh @@ -22,8 +22,29 @@ perms = true, owner = true, group = true, }" > /etc/lsyncd.conf; + +echo -ne '====> (33%)\r' +sleep 1 +echo -ne '=======> (45%)\r' +sleep 1 +echo -ne '===============> (66%)\r' +sleep 1 +echo -ne '=========================>(100%)\r' +echo -ne '\n' +echo "Mencoba melakukan restart service lsycnd !" +echo ""; +echo ""; systemctl restart lsyncd; +echo "Ini status servicenya !" +echo ""; +echo ""; systemctl status lsyncd; - -ssh root@103.23.20.132 "nginx -t; nginx -s reload; systemctl status nginx;"; +echo ""; +echo ""; +echo "Tolong dicek status servicenya !"; +echo ""; +echo ""; +echo "Mencoba merestart webserver dan php pada backend2 !"; +echo ""; +ssh root@103.23.20.132 "nginx -t; nginx -s reload; systemctl status nginx;systemctl restart php-fpm";