Files
VPS-scripts_Web-V2/SubModules/redis/preconf.sh
Bram Prieshof 6922ea61b2 Update references to new git location
Changed Web-V2 config location to /etc/WebV2
2023-07-02 20:43:33 +02:00

13 lines
451 B
Bash

#!/bin/bash
if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist" = "deb10" ] || [ "$shortdist" = "deb11" ] ; then
# Debian/Ubunbtu redis variables
redisService=redis-server
elif [ "$shortdist" = "el8" ]; then
# Centos redis variable
redisService=redis
fi
curl --retry 7 --retry-delay 5 -s https://git.bprieshof.nl/Work/PKGRepoSetup/raw/branch/Main/Setup-Repo.sh |repo=redis osrel=$shortdist bash > $OUTPUT 2>&1