redis/redis-sentinel.service
Haïkel Guémar bfae9dba22 Cleanup spec
Fix shutdown for redis-{server,sentinel}
Backport fixes from Remi Collet repository
Drop unused patch
2014-09-11 23:34:18 +02:00

14 lines
274 B
Desktop File

[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
User=redis
Group=redis
[Install]
WantedBy=multi-user.target