summaryrefslogtreecommitdiffstats
path: root/redis-sentinel.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-09-12 18:09:08 +0200
committerRemi Collet <fedora@famillecollet.com>2014-09-12 18:09:08 +0200
commit912b891ca07160a56924e91db92e8b4d40aa1175 (patch)
tree6926b3a08869aede23d8577f9a899a76b4909129 /redis-sentinel.service
parent5d9fa3923a03b577eca13ba60fb95b36d9e5df72 (diff)
redis: 2.8.15
Diffstat (limited to 'redis-sentinel.service')
-rw-r--r--redis-sentinel.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/redis-sentinel.service b/redis-sentinel.service
new file mode 100644
index 0000000..ff3a117
--- /dev/null
+++ b/redis-sentinel.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Redis Sentinel
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf --daemonize no
+ExecStop=/usr/bin/redis-shutdown sentinel
+User=redis
+Group=redis
+
+[Install]
+WantedBy=multi-user.target
+