The truce with government forces will take effect when the Muslim festival of Eid begins on Sunday.