Skip to content

Instantly share code, notes, and snippets.

@thiagosouza
Last active July 18, 2019 01:56
Show Gist options
  • Select an option

  • Save thiagosouza/2115c18b5fd541cd952f343c1cc8d4b4 to your computer and use it in GitHub Desktop.

Select an option

Save thiagosouza/2115c18b5fd541cd952f343c1cc8d4b4 to your computer and use it in GitHub Desktop.
[Resilio Sync] Resilio Sync Setup #cloud #setup
# file: ~/.config/autostart/bittorrentsync.desktop
# https://developer.gnome.org/desktop-entry-spec/
read -d '' desktop_entry_for_bittorrent_sync << EOF
[Desktop Entry]
Name=BitTorrent Sync
Terminal=true
Exec=/home/thiagosouza/BitTorrent-Sync_glibc23_x64/btsync --webui.listen 0.0.0.0:8888
Type=Application
Icon=/home/thiagosouza/BitTorrent-Sync_glibc23_x64/btsync
Categories=Utility;
EOF
echo "$desktop_entry_for_bittorrent_sync" >> ~/.config/autostart/bittorrentsync.desktop
echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee /etc/apt/sources.list.d/resilio-sync.list
sudo apt-get update
sudo apt-get install resilio-sync
#https://help.resilio.com/hc/en-us/articles/206178924
sudo chmod g+rw /media/thiagosouza/HD
sudo chmod g+rw /media/thiagosouza/HD/Sync
sudo usermod -aG thiagosouza rslsync
sudo usermod -aG rslsync thiagosouza
sudo service resilio-sync stop
sudo service resilio-sync start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment