forked from pool/redis
1fff75378e
- replaced /var/run with /run for all PID file paths OBS-URL: https://build.opensuse.org/request/show/878769 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=171
18 lines
345 B
Desktop File
18 lines
345 B
Desktop File
[Unit]
|
|
Description=Redis Sentinel instance: %i
|
|
After=network.target
|
|
PartOf=redis-sentinel.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
User=redis
|
|
Group=redis
|
|
PrivateTmp=true
|
|
PIDFile=/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
|