bugfix:修改tsg-os-provision启动maat-redis失败的bug

This commit is contained in:
fumingwei
2021-06-24 16:24:00 +08:00
parent 48bf3b1be2
commit 47b6bb4da4
2 changed files with 2 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
[Unit]
Description=Redis persistent key-value database
After=network.target tsg-os-provision.service
Requires=tsg-os-provision.service
After=network.target
[Service]
ExecStart=/usr/bin/redis-server /etc/maat-redis.conf --supervised systemd

View File

@@ -179,7 +179,7 @@
systemd:
name: "{{ item }}"
enabled: yes
status: started
state: started
when: feature.enable_policy_local_cache == 1
with_items:
- maat-redis