Hello, while it is possible to run multiple instances of redis via rc.conf, redis sentinel mode (https://redis.io/topics/sentinel) is not configurable and thus redis cannot automatically started in sentinel mode. While this also should be configurable in redis.conf and not only by starting it via `redis --sentinel` (see https://github.com/redis/redis/issues/7596), momentarily it is not possible to start it otherwise than calling it from the commandline. Cheers Lars
On Ubuntu they have an extra package to install and start sentinel, but I think this is not necessary when introduction an additional rc.conf variable.
Hi Lars, thanks for the report. The redis ports from databases category (redis, redis4, redis5, redis-devel) contain the sentinel script committed by the following request, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204025 The following knobs are available to configure and run sentinel: sentinel_enable="NO" sentinel_user="redis" sentinel_config="/usr/local/etc/$name.conf" Is there anything else can be added to improve quality of this script? Thanks.
Hey Sergey, thank you very much. Just from looking at it, it seems good and enough for me. But unformtunately I have no time testing it at the moment. But I think, we can close this report. If I have time and might find more problems, I'll open a new report. Cheers Lars