Skip to content

Commit

Permalink
added redis init
Browse files Browse the repository at this point in the history
  • Loading branch information
neo committed Oct 21, 2020
1 parent 4b9ee7d commit ec0abeb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions redis_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sudo apt update
sudo apt install redis-server -y
echo -e "\n Running ubuntu? Please update the following: >supervised no< to >supervised systemd<"
read -p "(y/n)" INPUT
if [ "$INPUT" = "y" ]; then
sudo vim /etc/redis/redis.conf
else
echo "Okay. Redis initialized without supervisor."
sleep 1
fi

0 comments on commit ec0abeb

Please sign in to comment.