17 lines
336 B
SYSTEMD
17 lines
336 B
SYSTEMD
|
[Unit]
|
||
|
Description=Redis Sentinel
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf --daemonize no --supervised systemd
|
||
|
ExecStop=/usr/libexec/redis-shutdown redis-sentinel
|
||
|
Type=notify
|
||
|
User=redis
|
||
|
Group=redis
|
||
|
RuntimeDirectory=redis
|
||
|
RuntimeDirectoryMode=0755
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|