I have had a slightly better result by just changing the user in /etc/init.d/resilio-sync in ubuntu 14 to my current user
I also had to change the ownership (chown -R) of
/var/lib/resilio-sync
/etc/resilio-sync
restarted with
sudo service resilio-sync start
and it seems to have worked