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.
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.
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:
Is there anything else can be added to improve quality of this script?
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.