Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to autostart redis-server in ubuntu 20 desktop

I'm currently running Redis-server in my local development environment Ubuntu 20.04. Every time I open my desktop computer I always use this Redis-server --daemonize yes to start the Redis server. Is there a way to make it autostart when the desktop computer turned on?

like image 632
Toksti Dats Ready Avatar asked Dec 02 '25 12:12

Toksti Dats Ready


1 Answers

If your system is using systemd, the way to launch it at start-up is:

sudo systemctl enable redis-server
like image 181
GanesH RahuL Avatar answered Dec 09 '25 06:12

GanesH RahuL



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!