Skip to content

Commit 6a9dff5

Browse files
committed
Add labels for sentinel.conf* after creating fcontext
1 parent e37848c commit 6a9dff5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/postinstall.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ fi
1313
# Allow writing to /etc/redis/sentinel.conf* for redis-sentinel
1414
if command -v semanage &> /dev/null; then
1515
semanage fcontext -a -t redis_conf_t '/etc/redis/sentinel.conf*'
16+
restorecon '/etc/redis/sentinel.conf*'
1617
fi
1718

1819
#

0 commit comments

Comments
 (0)