I’ve installed the
laptop gem from thoughtbot in my development environment.
As stated on
laptop README, it sets up a Redis server for me:
- Redis for storing key-value data
I already had Redis installed before, and I used to launch it just by typing:
Redis server was launched on-screen, and was kept running on bash until I interrupt it.
After I installed
laptop, it seems that a Redis server was launched in background automatically, and I never had to launch it again.
However, I need to restart it, and I’m not aware about the correct way to do it. I could obviously kill the process and start a new one as I used to do before. But I would like to run it the same way
laptop does, so I don’t run into different configuration files or instances.
How can I
start|stop|restart redis-server the way