summaryrefslogtreecommitdiffstats
path: root/redis.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-08-30 16:58:08 +0200
committerRemi Collet <fedora@famillecollet.com>2012-08-30 16:58:08 +0200
commit55f1f702dc479340cb5e974e9a501a13264dee91 (patch)
treef56913d66065b6820a002236d4b05d05ec705452 /redis.service
redis : import from rawhide
Diffstat (limited to 'redis.service')
-rw-r--r--redis.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/redis.service b/redis.service
new file mode 100644
index 0000000..f6dc44e
--- /dev/null
+++ b/redis.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=A persistent key-value database
+After=syslog.target network.target
+
+[Service]
+PIDFile=/var/run/redis/redis.pid
+ExecStart=/usr/sbin/redis-server /etc/redis.conf
+User=redis
+Group=redis
+
+[Install]
+WantedBy=multi-user.target
+