summaryrefslogtreecommitdiffstats
path: root/sentinel.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-01-06 15:21:59 +0100
committerRemi Collet <fedora@famillecollet.com>2014-01-06 15:21:59 +0100
commit9344f0e164a83b38791daf6b9a61d7294e1de652 (patch)
tree080092693571139b558387735ef05775e5d0ee04 /sentinel.service
parent6c0ced388602c8d7469594123b6064fd584a6106 (diff)
redis: add redis-sentinel (command + service)
Diffstat (limited to 'sentinel.service')
-rw-r--r--sentinel.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/sentinel.service b/sentinel.service
new file mode 100644
index 0000000..487f283
--- /dev/null
+++ b/sentinel.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Redis sentinel
+After=syslog.target network.target
+
+[Service]
+ExecStart=/usr/sbin/redis-sentinel /etc/redis-sentinel.conf --daemonize no
+User=redis
+Group=redis
+
+[Install]
+WantedBy=multi-user.target
+