How to automaticly start rsync --daemon

Hi there,

I’m the owner of a WD Sharespace 4TB version. (modelNumber: WDA4NC40000)
This NAS is being used as a landing for my RSYNC backups I push from my synology device.

When the NAS has been shutdown (power loss, manual shutdown, whatever) and I boot it again RSYNC doesnt start.
Everything is already configured properly but 1 thing remains: autostart rsync on boot.

Does somebody know in which file I can add the command “rsync --daemon” so it starts the daemon on startup?

Thank you in advance,

I added the command in Twonky Media Server startupscript in /etc/init.d/