redis/redis-sentinel.service

14 lines
274 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
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