redis/redis-sentinel.service

14 lines
263 B
SYSTEMD
Raw Normal View History

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-07-17 01:29:20 +00:00
ExecStart=/usr/bin/redis-sentinel /etc/sentinel.conf
2014-06-19 06:42:22 +00:00
ExecStop=/usr/bin/redis-cli shutdown
User=redis
Group=redis
[Install]
WantedBy=multi-user.target