Rsync Default config file upon restart

after many trial and error, I got rsync to work but I had to change multiple lines in the rsyncd.conf but if for some reason the daemon restarts or the ex4100 restarts or loses power the conf returns back to its default config. So how can I make the rsync config file that I wrote the default one, or run my custom rsyncd.conf on reboot or anything?
P.S I found something old but couldn’t implement it in the current firmware, or Linux system available on the ex4100.