How does redis start in the background?

I"ve read a lot about changing the daemonize in redis.conf to yes
, but I don"t see where this item is.
solve.

Mar.23,2021

if you install redis, through the package manager, there is a service script directly. You can launch


in the background by directly using service redis start .

official redis.conf has daemonize

-sharp By default Redis does not run as a daemon. Use 'yes' if you need it.
-sharp Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
daemonize no

you can just configure daemonize as yes


add


cd to the redis folder, then type. / bin/redis-server. / redis.conf enter


1.cd to the redis folder and find redis.conf
2. Set daemonize to yes
3. Enter. / redis-server.. / redis.conf this path is uncertain depending on the individual's actual installation, anyway, it is to find the path of redis-server and start with the path of redis.conf


daemonize

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea8f4a-1f19.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea8f4a-1f19.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?