1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=A persistent key-value database After=syslog.target network.target [Service] Type=simple PIDFile=/var/run/redis/redis.pid ExecStart=/usr/sbin/redis-server /etc/redis.conf User=redis Group=redis [Install] WantedBy=multi-user.target