Skip to content

Commit 3c79a63

Browse files
pkhartskphracek
authored andcommitted
Remove software collections
1 parent 29bb0f1 commit 3c79a63

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

6/root/usr/libexec/container-setup

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,10 @@
33
source ${CONTAINER_SCRIPTS_PATH}/common.sh
44
set -eu
55

6-
# setup config file
7-
if [ -n "${ENABLED_COLLECTIONS:-}" ] ; then
8-
mv /etc/opt/rh/rh-redis6/redis.conf "${REDIS_CONF}"
9-
ln -s "${REDIS_CONF}" /etc/opt/rh/rh-redis6/redis.conf
10-
fi
11-
126
# setup directory for data
137
chown -R redis:0 "${HOME}" "${REDIS_CONF}"
148
restorecon -R "${HOME}" "${REDIS_CONF}"
159

16-
# create a symlink for SCL datadir, so there is some reasonable content there
17-
if [ -n "${ENABLED_COLLECTIONS:-}" ] ; then
18-
rmdir /var/opt/rh/rh-redis6/lib/redis/
19-
ln -s /var/lib/redis /var/opt/rh/rh-redis6/lib/redis
20-
fi
21-
2210
# Loosen permission bits for group to avoid problems running container with
2311
# arbitrary UID
2412
# When only specifying user, group is 0, that's why /var/lib/redis must have

0 commit comments

Comments
 (0)