diff --git a/lsyncd.sh b/lsyncd.sh index 8b37c13..4be6abf 100644 --- a/lsyncd.sh +++ b/lsyncd.sh @@ -21,7 +21,9 @@ update = true, perms = true, owner = true, - group = true, }" > /etc/lsyncd.conf; + group = true, + rsh = $(echo '"/usr/bin/ssh -l root -i /root/.ssh/id_rsa"'), +}" > /etc/lsyncd.conf; echo "Mencoba melakukan restart service lsycnd !" echo "";