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