Skip to content
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

service_user not working #58

Closed
steverecio opened this issue Sep 23, 2015 · 2 comments
Closed

service_user not working #58

steverecio opened this issue Sep 23, 2015 · 2 comments
Labels

Comments

@steverecio
Copy link

This might be a result of my misunderstanding but using the service_user keyword, I'm only able to modify the owner of the redis-sentinel process but not the redis-server process. I can see this from the compiled /etc/init.d files. If I try to run redis-server, I get an error because the logfile is owned by the user I specified in service_user but the server process is run as the service_user default (redis:redis). Is there a plan to add support for this in the redis-server?

@steverecio steverecio changed the title $service_user not working service_user not working Sep 23, 2015
@petems
Copy link
Member

petems commented May 4, 2017

@steverecio The service_user is more to allow the different OS's to specify which user needs to own the redis process.

To manage the user that actually runs the redis service, you'd have to manage the service file (init script or systemd service file). What's the motivation for that? Could you give me an example of what you're trying to achieve? What user do you want redis to run as?

@petems petems added the question label May 4, 2017
@ekohl
Copy link
Member

ekohl commented Dec 2, 2019

Closing for inactivity.

@ekohl ekohl closed this as completed Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants