cd ~/Downloads rm resilio-sync_3.0.3.1065-1_amd64.deb wget https://download-cdn.resilio.com/3.0.3.1065/debian/amd64/0/resilio-sync_3.0.3.1065-1_amd64.deb sudo dpkg -i resilio-sync_3.0.3.1065-1_amd64.deb sudo systemctl disable resilio-sync sudo systemctl stop resilio-sync echo "[Unit] Description=Resilio Sync service Documentation=https://help.getsync.com/ After=network.target network-online.target [Service] Type=forking Restart=on-failure PIDFile=%h/.config/resilio-sync/sync.pid ExecStart=/usr/bin/rslsync --config %h/.config/resilio-sync/config.json ExecStartPre=/etc/resilio-sync/init_user_config.sh ExecStartPost=/bin/sleep 1 [Install] WantedBy=default.target" | sudo tee /usr/lib/systemd/user/resilio-sync.service >/dev/null systemctl --user enable resilio-sync systemctl --user start resilio-sync #uninstall: sudo apt-get purge resilio-sync