2014-06-19 06:42:22 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Redis Sentinel
|
|
|
|
After=network.target
|
2018-10-17 21:41:26 +00:00
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
2014-06-19 06:42:22 +00:00
|
|
|
|
|
|
|
[Service]
|
2020-11-23 12:50:35 +00:00
|
|
|
ExecStart=/usr/bin/redis-sentinel /etc/redis/sentinel.conf --daemonize no --supervised systemd
|
|
|
|
ExecStop=/usr/libexec/redis-shutdown sentinel
|
2017-08-28 06:06:15 +00:00
|
|
|
Type=notify
|
2014-06-19 06:42:22 +00:00
|
|
|
User=redis
|
|
|
|
Group=redis
|
2017-08-14 02:11:34 +00:00
|
|
|
RuntimeDirectory=redis
|
|
|
|
RuntimeDirectoryMode=0755
|
2014-06-19 06:42:22 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2015-10-16 15:50:15 +00:00
|
|
|
|