32bb33dd29
- update systemd unit file to fix redis shutdown immedaiate after start OBS-URL: https://build.opensuse.org/request/show/652038 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=123
18 lines
327 B
Desktop File
18 lines
327 B
Desktop File
[Unit]
|
|
Description=Redis
|
|
After=network.target
|
|
PartOf=redis-sentinel.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
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
|