summaryrefslogtreecommitdiffstats
path: root/redis.service
blob: e01dbfe956e4db3e50a33b83c058b3aaeb17bf88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Redis persistent key-value database
After=network.target

[Service]
ExecStart=/usr/bin/redis-server /etc/redis.conf --daemonize no
ExecStop=/usr/libexec/redis-shutdown
User=redis
Group=redis
RuntimeDirectory=redis
RuntimeDirectoryMode=0750

[Install]
WantedBy=multi-user.target