File tree Expand file tree Collapse file tree 6 files changed +460
-10
lines changed Expand file tree Collapse file tree 6 files changed +460
-10
lines changed Original file line number Diff line number Diff line change 1+ /etc/redis/sentinel -d system_u:object_r:redis_conf_t:s0
2+ /etc/redis/sentinel.conf -- system_u:object_r:redis_conf_t:s0
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =Advanced key-value store
3+ After =network.target
4+ Documentation =http://redis.io/documentation
5+
6+ [Service]
7+ Type =notify
8+ ExecStart =/usr/bin/redis-sentinel /etc/redis/sentinel/sentinel.conf
9+ TimeoutStopSec =0
10+ Restart =always
11+ User =redis
12+ Group =redis
13+ RuntimeDirectory =sentinel
14+ RuntimeDirectoryMode =2755
15+
16+ UMask =007
17+ PrivateTmp =yes
18+ LimitNOFILE =65535
19+ PrivateDevices =yes
20+ ProtectHome =yes
21+ ReadOnlyDirectories =/
22+ ReadWriteDirectories =-/var/lib/redis
23+ ReadWriteDirectories =-/var/log/redis
24+ ReadWriteDirectories =-/run/sentinel
25+
26+ NoNewPrivileges =true
27+ CapabilityBoundingSet =CAP_SYS_RESOURCE
28+ ProtectSystem =true
29+ ReadWriteDirectories =-/etc/redis
30+
31+ [Install]
32+ WantedBy =multi-user.target
33+ Alias =redis-sentinel.service
You can’t perform that action at this time.
0 commit comments