FS#56119 - [redis] Add sentinel systemd-service file and configuration

Attached to Project: Community Packages
Opened by salosh (salosh) - Thursday, 26 October 2017, 00:17 GMT
Last edited by freswa (frederik) - Tuesday, 09 March 2021, 13:48 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Andrew Crerar (andrewSC)
freswa (frederik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Redis package is missing both sentinel configuration file and systemd-service

redis-4.0.2-1
Linux ha01 4.13.8-1-ARCH #1 SMP PREEMPT Wed Oct 18 11:49:44 CEST 2017 x86_64 GNU/Linux

[root@ha01 ~]# pacman -Ql redis
redis /etc/
redis /etc/logrotate.d/
redis /etc/logrotate.d/redis
redis /etc/redis.conf
redis /usr/
redis /usr/bin/
redis /usr/bin/redis-benchmark
redis /usr/bin/redis-check-aof
redis /usr/bin/redis-check-rdb
redis /usr/bin/redis-cli
redis /usr/bin/redis-sentinel
redis /usr/bin/redis-server
redis /usr/lib/
redis /usr/lib/systemd/
redis /usr/lib/systemd/system/
redis /usr/lib/systemd/system/redis.service
redis /usr/share/
redis /usr/share/licenses/
redis /usr/share/licenses/redis/
redis /usr/share/licenses/redis/LICENSE



Steps to reproduce:
pacman -S redis
This task depends upon

Closed by  freswa (frederik)
Tuesday, 09 March 2021, 13:48 GMT
Reason for closing:  Implemented
Additional comments about closing:  redis-sentinel committed in revision 887046
Comment by Doug Newgard (Scimmia) - Thursday, 26 October 2017, 03:19 GMT
service file is there, you even listed it. What config file are you talking about?

Edit: ok, I see you're talking about redis-sentinal instead of redis-server. Since redis-sentinal is just a symlink, does it matter?
Comment by salosh (salosh) - Thursday, 26 October 2017, 11:54 GMT
redis sentinel should have a systemd service, and run as a daemon
also, there should be a /etc/redis-sentinel.conf file, to hold its configuration
Comment by Ivy Foster (escondida) - Friday, 11 October 2019, 00:14 GMT
Scimmia, is this something you're still considering, or should it be closed "Won't Fix"?
Comment by Andrew Crerar (andrewSC) - Friday, 11 October 2019, 12:19 GMT
I looked into this some time ago along with a rewrite of the redis PKGBUILD. Ultimately I got side tracked but if we think it'd be worth while I can look into it again.

Loading...