redis/redis.service
Fabian Deutsch e8dff38f7b redis.service: Fix config and user/group. Ta Timon.
Points redis-server to the appropriate config and runs the server as
redis:redis. Thanks Timon.

Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2012-01-31 15:51:59 +01:00

15 lines
254 B
Desktop File

[Unit]
Description=A persistent key-value database
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/redis/redis.pid
ExecStart=/usr/sbin/redis-server /etc/redis.conf
User=redis
Group=redis
[Install]
WantedBy=multi-user.target