Had the same problem. Running Debian Jessie and sync as an user.
As soon as I logged out of my ssh session the webui stopped and also did resilio sync. Took me a while to figure it out.
Just run this on the command line:
sudo loginctl enable-linger username