-
Notifications
You must be signed in to change notification settings - Fork 85
CentOS 6: /var/run/redis directory not created #92
Comments
I have the same problem on Debian 8 and 9. I think the problem is in the SystemD unit file: The commands given in the According to the documentation: So I think the following block:
|
…e runtime directories when possible. When the service does not run as roo user and if the desired runtime directory is under /run or /var/run (which is a usually a symlink to /run), then the explicit creation of the directory in a ExecStartPre setting should be replaced by the RuntimeDirectory setting which will have expected outcome. Otherwise, if the runtime directory is located somewhere else, the previous approach is preserved. See: echocat#92
Sorry, I had not noticed I was running an older version of this module which did not include the |
If you want , send me a PR. |
Using a manifest like this:
On CentOS 6, the /var/run/redis directory is not created and the puppet agent run fails when it can't copy the /etc/redis.conf to that that directory. I fixed it by putting the following at the top of my manifest:
The text was updated successfully, but these errors were encountered: