Skip to content

Add RUNAS_USER to control the user running resilio-sync#4

Open
davide wants to merge 7 commits into
nimmis:masterfrom
davide:master
Open

Add RUNAS_USER to control the user running resilio-sync#4
davide wants to merge 7 commits into
nimmis:masterfrom
davide:master

Conversation

@davide

@davide davide commented Aug 15, 2017

Copy link
Copy Markdown
Contributor

Useful when dealing with shared volumes and we want to "reuse" the same user on different containers.

@davide

davide commented Aug 20, 2017

Copy link
Copy Markdown
Contributor Author

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.
@davide davide force-pushed the master branch 2 times, most recently from a270adf to f2cd3d8 Compare August 27, 2017 01:55
@davide

davide commented Aug 27, 2017

Copy link
Copy Markdown
Contributor Author

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.

@pascalandy

Copy link
Copy Markdown

@davide are you still maintaining resilio on your side?
I checked your repos and didn't found anything.

I think your PR is great!

@davide

davide commented Sep 3, 2019

Copy link
Copy Markdown
Contributor Author

Thanks @pascalandy ! :) I'm not maintaining resilio, this was just a one-off.

@davide davide closed this Sep 3, 2019
@davide davide reopened this Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants