summaryrefslogtreecommitdiffstats
path: root/redis.service
diff options
context:
space:
mode:
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
+