2014-06-19 06:42:22 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Redis Sentinel
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStartPre=/usr/bin/mkdir -p /var/lib/redis
|
2014-09-11 19:40:02 +00:00
|
|
|
ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf
|
|
|
|
ExecStop=/usr/bin/redis-shutdown sentinel
|
2014-06-19 06:42:22 +00:00
|
|
|
User=redis
|
|
|
|
Group=redis
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|