This script is to make ResilioSync an always running service so any changes made are automatically uploaded to your master repo.
Run the commands, make the changes and then restart the service. I made my initial repo on my master server and added my main retropie to the sync group, waited for 100% sync and then added the rest of my devices exactly the same way.
Open the resilio gui by going to retropieIP:8888/gui/
wget -c https://download-cdn.resilio.com/2.6.3/Debian/resilio-sync_2.6.3-1_armhf.deb sudo dpkg -i resilio-sync_2.6.3-1_armhf.deb sudo systemctl enable resilio-sync sudo nano /lib/systemd/system/resilio-sync.service sudo sed -i "s/rslsync/pi/g" /lib/systemd/system/resilio-sync.servicesudo nano /lib/systemd/system/resilio-sync.service
Go in and edit the file and change out this line
ExecStart=/usr/bin/pi--config ${SYNC_CONF_DIR}/config.json
to
ExecStart=/usr/bin/rslsync --config ${SYNC_CONF_DIR}/config.json
sudo systemctl daemon-reload sudo systemctl restart resilio-syncWhen u go to make the sync, I used /home/pi/RetroPie/roms