mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 09:12:05 -07:00
13 lines
311 B
Bash
Executable File
13 lines
311 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Adapted from:
|
|
# https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-18-04
|
|
|
|
# Install Redis.
|
|
sudo apt install redis-server
|
|
|
|
# Converting to systemd managed process
|
|
sudo echo "supervised systemd" >> /etc/redis/redis.conf
|
|
|
|
sudo systemctl restart redis.service
|