Problem:
I can't seem to figure out how to keep Redis server running when I exit terminal.
Server:
I installed Redis using this quickstart guide: https://redis.io/topics/quickstart
We are running it on an OVH VPS:
Architecture: x86_64
Operating System: linux
What have I tried:
redis-server --daemonize yes
Tried the above but would only work when terminal remains open. As soon as I close the terminal the redis server stops.
# By default Redis does not run as a daemon. Use 'yes' if you need it.
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
daemonize yes
I changed the configuration but still, whenever I close the terminal the Redis server stops.
nohup redis-server &
Tried with nohup but that aswell didn't work as soon as I closed the terminal.