Updated Redis module for Centos compatibility
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user