We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a208fd7 commit 880e158Copy full SHA for 880e158
configs/redis-sentinel.service
@@ -5,7 +5,7 @@ Documentation=http://redis.io/documentation
5
6
[Service]
7
Type=notify
8
-ExecStart=/usr/bin/redis-sentinel /etc/redis/sentinel.conf
+ExecStart=/usr/bin/redis-sentinel /etc/redis/sentinel/sentinel.conf
9
TimeoutStopSec=0
10
Restart=always
11
User=redis
scripts/postinstall.sh
@@ -13,7 +13,8 @@ fi
13
# Allow writing to /etc/redis/sentinel/ for redis-sentinel
14
if command -v semanage &> /dev/null; then
15
semanage fcontext -a -t redis_conf_t '/etc/redis/sentinel'
16
- restorecon '/etc/redis/sentinel'
+ semanage fcontext -a -t redis_conf_t '/etc/redis/sentinel/sentinel.conf'
17
+ restorecon '/etc/redis/sentinel' '/etc/redis/sentinel/sentinel.conf'
18
fi
19
20
#
0 commit comments