Install Resilio Sync Headless on Debian 10

echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | tee /etc/apt/sources.list.d/resilio-sync.list
curl -LO http://linux-packages.resilio.com/resilio-sync/key.asc && apt-key add ./key.asc
apt-get update
apt-get install -y resilio-sync
#usermod -aG {user_group} rslsync
#chmod g+rw synced_folder

sed -i "s/127.0.0.1/0.0.0.0/g" /etc/resilio-sync/config.json
sed -i "s/127.0.0.1/0.0.0.0/g" /etc/resilio-sync/user_config.json

sed -i "s/User=rslsync/User=root/g" /lib/systemd/system/resilio-sync.service
sed -i "s/Group=rslsync/Group=root/g" /lib/systemd/system/resilio-sync.service
sed -i "s/SYNC_USER=rslsync/SYNC_USER=root/g" /lib/systemd/system/resilio-sync.service
sed -i "s/SYNC_GROUP=rslsync/SYNC_GROUP=root/g" /lib/systemd/system/resilio-sync.service
systemctl daemon-reload
systemctl restart resilio-sync
systemctl enable resilio-sync

Access web UI at http://<IP>:8888

留下评论