redis在linux下自启命令
[Unit] Description=redis-server After=network.target [Service] Type=forking ExecStart=/usr/local/bin/redis-server /software/redis-4.0.9/redis.conf ExecStop=/usr/local/bin/redis-cli shutdown PrivateTmp=true [Install] WantedBy=multi-user.target
标签:bin,redis,下自启,usr,linux,local From: https://www.cnblogs.com/niway/p/17766826.html