标签:mon cat cli sys des after redis3 install exe
1)、
# cd /etc/systemd/system
2)、
# cat redis36379.service
[Unit]
Description=Redis persistent key-value database
After=network.target
[Service]
User=redis
Group=redis
ExecStart=/usr/local/bin/redis-server /etc/redis36379.conf --daemonize no
ExecStop=/usr/local/bin/redis-cli -p 36379 shutdown
Restart=always
[Install]
WantedBy=multi-user.target
标签:mon cat cli sys des after redis3 install exe
原文地址:http://blog.51cto.com/mjunetwslinux/2140967