2020-10-15 04:31:45 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Redis Sentinel
|
|
|
|
After=network.target
|
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
2020-11-23 13:14:27 +00:00
|
|
|
ExecStart=/usr/bin/redis-sentinel /etc/redis/sentinel.conf --daemonize no --supervised systemd
|
|
|
|
ExecStop=/usr/libexec/redis-shutdown sentinel
|
2020-10-15 04:31:45 +00:00
|
|
|
Type=notify
|
|
|
|
User=redis
|
|
|
|
Group=redis
|
|
|
|
RuntimeDirectory=redis
|
|
|
|
RuntimeDirectoryMode=0755
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|