geerlingguy / ansible-role-redis

Ansible Role - Redis
https://galaxy.ansible.com/geerlingguy/redis/
MIT License
254 stars 197 forks source link

Added systemd service for Ubuntu. Read-only filesystem #36

Closed idestis closed 4 years ago

idestis commented 5 years ago

In case when we change redis_dbdir to custom we will get an error in log

Failed opening the RDB file dump.rdb (in server root dir /var/data/redis) for saving: Read-only file system

To avoid this, we need to a line in redis.service in systemd ReadWriteDirectories

Right now this pull request should work on Debian family with systemd.

stale[bot] commented 4 years ago

This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark pull requests as stale.

stale[bot] commented 4 years ago

This pull request has been closed due to inactivity. If you feel this is in error, please reopen the pull request or file a new PR with the relevant details.