[Unit]
Description=Redis
After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
User=daemon
Group=daemon
Type=forking
PIDFile=/var/run/redis_6511.pid
ExecStart=/usr/local/redis/bin/redis-server /usr/local/redis/redis_6511.conf
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true
[Install]
WantedBy=multi-user.target