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 Definition Has User Hardcoded #265

Closed
rossedman opened this issue May 4, 2016 · 3 comments
Closed

Service Definition Has User Hardcoded #265

rossedman opened this issue May 4, 2016 · 3 comments
Milestone

Comments

@rossedman
Copy link

If you change the user and group of the Redis service it is still hardcoded in the systemctl definition. Has anyone else experienced problems with this?

[Unit]
Description=Redis persistent key-value database
After=network.target

[Service]
ExecStart=<%= @bin_path %>/redis-server /etc/redis/%i.conf --daemonize no
ExecStop=/usr/bin/redis-shutdown
User=redis
Group=redis

[Install]
WantedBy=multi-user.target
@martinb3 martinb3 added the bug label May 4, 2016
@martinb3
Copy link
Contributor

martinb3 commented May 4, 2016

It sounds like we should add a test for this. If you've already got a fix handy, I'd be glad to review/merge it.

@shortdudey123 shortdudey123 added this to the 2.6.0 milestone Apr 28, 2017
@shortdudey123
Copy link
Contributor

Solved by #302

@lock
Copy link

lock bot commented Nov 28, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants