Updated Redis module for Centos compatibility

This commit is contained in:
2020-12-04 11:10:57 +01:00
parent be8d75bcab
commit 574e61b085
5 changed files with 14 additions and 2 deletions

View File

@@ -1,3 +1,13 @@
#!/bin/bash
if [ "$shortdist" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb10" ] ; then
# Debian/Ubunbtu redis variables
redisService=redis-server
elif [ "$shortdist" = "cent8" ]; then
# Centos redis variable
redisService=redis
fi
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=redis osrel=$shortdist bash > $OUTPUT 2>&1