summaryrefslogtreecommitdiff
blob: c36d7960ef719363c6d33267e4711a465bd3bdc4 (plain)
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