-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate data and config directories #69
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for opening this pull request! Be sure to follow the pull request template!
Add a new directory /data to put the shares in and config where the config stays. Do not create default share by default Fixes linuxserver#67
e47dd5c
to
cc2db9c
Compare
Thanks for the PR, but I don't believe it would fix the linked issue (his issue was incorrect ownership on the mapped folder and this PR does not fix perms on that folder) With that said, I also don't see much benefit to hardcoding a data folder. The config folder is meant for configuration and data, anything the container writes that is meant to be persistent. The readme lists example data folders, letting the user know they can map whatever path they like to use as source paths. |
Hi
For me it declaring the volume /data and tuning the data argument for the binary fixed issues I got before, but perhaps I misinterpreted the result. I use also a "specific" setup with podman in rootless mode.
Several points lead to do this change
I have also a question toward the usage of /var/lib/syncthing, why is the directory created but not used ? |
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request is locked due to inactivity |
Add a new directory /data to put the shares in and config where the config stays.
Do not create default share by default
Fixes #67
Description:
Add a dedicated directory
/data
to put shares inside it. Now /config is solely for configuration items.Sync directory (the share share) is not created by default anymore.
Benefits of this PR and context:
Provide a dedicated place to create share, before that, creating would be only under
/config
which not ideal.How Has This Been Tested?
Source / References:
#67