I put redis into supervisor monitoring, I put redis startup command redis-server in the PATH attribute of / etc/profile, executed source / etc/profile, and manually specified that redis-server can start redis.
now I"m going to put redis into monitoring. Add the following:
[program:redis]
command=redis-server / mnt/software/redis-4.0.11/redis.conf
priority=2
autostart=true
startsecs=3
user=root
but the startup is not successful:
redis FATAL can"t find command "redis-server"