Redis: fix podman start on reboot
This patch updates the tripleo_redis.service systemd unit so that it recreates the /var/run/redis directory and sets the SELinux context accordingly after a reboot. Previously it would fail on reboot as these files are created via Ansible only during deployment. Change-Id: I4df04007098b610936d172ecfc5a92dcb1fb3fdc Closes-bug: #1816444
This commit is contained in:
parent
e506999744
commit
276743b5fe
@ -117,6 +117,9 @@ outputs:
|
||||
net: host
|
||||
privileged: false
|
||||
restart: always
|
||||
systemd_exec_flags:
|
||||
RuntimeDirectory: redis
|
||||
ExecStartPre: /bin/chcon -t svirt_sandbox_file_t /var/run/redis
|
||||
healthcheck:
|
||||
test: /openstack/healthcheck
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user