redis/redis-sentinel@.service
Martin Pluskal a18225ccff Accepting request 874834 from home:jzerebecki:branches:server:database
- Switch systemd type of the sentinel service from notify to simple. This can
  be reverted when updating to 6.2 which fixes
  https://github.com/redis/redis/issues/7284 .

OBS-URL: https://build.opensuse.org/request/show/874834
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=165
2021-02-25 06:40:25 +00:00

18 lines
349 B
Desktop File

[Unit]
Description=Redis Sentinel instance: %i
After=network.target
PartOf=redis-sentinel.target
[Service]
Type=simple
User=redis
Group=redis
PrivateTmp=true
PIDFile=/var/run/redis/sentinel-%i.pid
ExecStart=/usr/sbin/redis-sentinel /etc/redis/sentinel-%i.conf
LimitNOFILE=10240
Restart=on-failure
[Install]
WantedBy=multi-user.target redis.target