-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add RUNAS_USER to control the user running resilio-sync #4
base: master
Are you sure you want to change the base?
Conversation
Hi @nimmis! I believe this last commit got everything working correctly. |
Resilio Sync is very chatty and the log file (/var/log/rslsync.log before this commit) would grow without any strategy in place to truncate or rotate it. In some cases it could increase >50MB per day.
a270adf
to
f2cd3d8
Compare
On commit 309e50d I hadn't realized that logrotate was already being used. I've since made the output to stdout optional via the LOG_TO_STDOUT variable. |
@davide are you still maintaining resilio on your side? I think your PR is great! |
Thanks @pascalandy ! :) I'm not maintaining resilio, this was just a one-off. |
Useful when dealing with shared volumes and we want to "reuse" the same user on different containers.