I run Resilio in Ubuntu 21.10, that I installed yesterday. Resilio is installed from the official repository.
I used this configuration for months, but now Resilio stopped runinng. It starts normally for a few seconds, then exits.
(I did `systemctl enable resilio...` before this)
sudo systemctl restart resilio-sync.service
sudo systemctl status resilio-sync.service
Initially it shows status as running, but after 3 seconds I see this:
окт 16 23:40:19 asus systemd[1]: Started resilio-sync.service.
окт 16 23:40:22 asus systemd[1]: resilio-sync.service: Deactivated successfully.
All the advice you can find on the Internet is about tweaking Resilio through its web UI on Windows.
I'd appreciate any suggestion, or if someone points me where to get the default configurations.
Here are the settings:
/etc/systemd/system/resilio-sync.service. I changed user and group to myself to have files both synced and writeable, because otherwise I could not change files after Resilio changed their ownership. (Adding myself to resilio group, or vice versa resilio to `culebron` group, did not help.)
[Service]
User=culebron
Group=culebron
PIDFile=/home/culebron/.config/resilio-sync/sync.pid
ExecStartPre=
ExecStart=
ExecStart=/usr/bin/rslsync --config /home/culebron/.config/resilio-sync/config.json
This settings file is picked up, because in those seconds when resilio runs, I see `sync.pid` appear in that folder.
~/.config/resilio-sync/user-config.json:
{
"storage_path" : "/home/culebron/.config/resilio-sync/storage",
"pid_file" : "/home/culebron/.config/resilio-sync/sync.pid",
"webui" :
{
"listen" : "127.0.0.1:9999"
}
}