linuxserver / docker-resilio-sync

GNU General Public License v3.0
145 stars 25 forks source link

Bug: Advanced > Power User Preferences don't persist after container restart #7

Closed desimaniac closed 6 years ago

desimaniac commented 6 years ago

Any options set don't persist after container restart, but does remember the login I set the beginning. Also set GID and UID as well.

BT Sync's docker container can save Power User Preferences, but have no option to set GID/UID, which is why I don't use it.

thelamer commented 6 years ago

So unfortunately the program needs to be restarted to save certain advanced parameters. Because there is no restart option in the web-ui you will need to execute a kill host side:

sudo docker exec resilio-sync /bin/bash -c 'kill $(pidof rslsync)'

This will save the parameters to the config file and they will persist container restarts. If you want a better solution reach out to their team to add a restart button, not sure why they left it out.

https://github.com/bt-sync/sync-docker

desimaniac commented 6 years ago

@thelamer The official container saves the option without having to restart. That's all I was trying to say.

screendriver commented 6 years ago

Same question here @thelamer: why do we have to manually execute sudo docker exec resilio-sync /bin/bash -c 'kill $(pidof rslsync)' and with the official container not? 🤔

lludlow commented 6 years ago

The startup options use sync.conf
make the changes there and they are permanent