diff --git a/lsyncd.sh b/lsyncd.sh index b81e798..002f0b1 100644 --- a/lsyncd.sh +++ b/lsyncd.sh @@ -22,6 +22,8 @@ perms = true, owner = true, group = true," > /etc/lsyncd.conf; - + systemctl restart lsyncd; systemctl status lsyncd; + +ssh root@backend2.floss.my.id "nginx -t; nginx -s reload; systemctl status nginx;";