Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Change ownership of $redis_dir depending on the redis system user #48

Merged
merged 1 commit into from
Oct 29, 2015
Merged

Change ownership of $redis_dir depending on the redis system user #48

merged 1 commit into from
Oct 29, 2015

Conversation

MatthiasWiesner
Copy link
Contributor

Some packages, at least the redis package for SLES creates by default a
redis system user. When using the redis cluster feature the $redis_dir
is used for synchronizing. Therefor, the $redis_dir has to be owned by
the redis system user, otherwise the redis server cannot start.

This commit sets the $redis_dir ownership according to the given
$redis_user. By default the $redis_user is undef, which results to
'root' as redis system user.

Some packages, at least the redis package for SLES creates by default a
redis system user. When using the redis cluster feature the $redis_dir
is used for synchronizing. Therefor, the $redis_dir has to be owned by
the redis system user, otherwise the redis server cannot start.

This commit sets the $redis_dir ownership according to the given
$redis_user. By default the $redis_user is undef, which results to
'root' as redis system user.
@dwerder dwerder self-assigned this Oct 29, 2015
dwerder added a commit that referenced this pull request Oct 29, 2015
Change ownership of $redis_dir depending on the redis system user
@dwerder dwerder merged commit f1006e2 into echocat:develop Oct 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants