Updated Redis module for Centos compatibility
This commit is contained in:
1
SubModules/redis/apt.pkg.list
Normal file
1
SubModules/redis/apt.pkg.list
Normal file
@@ -0,0 +1 @@
|
|||||||
|
redis-server
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
systemctl enable --now redis-server
|
systemctl enable --now $redisService
|
||||||
1
SubModules/redis/dnf.pkg.list
Normal file
1
SubModules/redis/dnf.pkg.list
Normal file
@@ -0,0 +1 @@
|
|||||||
|
redis
|
||||||
@@ -1 +1 @@
|
|||||||
redis-server PHPprefix-redis
|
PHPprefix-redis
|
||||||
@@ -1,3 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/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
|
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