On Thu, 15 Jan 2015, Chris Lamb wrote:

Is it not possible to have two init scripts in one package?

Possibly, but because daemons start by default in Debian, someone
installing "redis" (in an informal sense) will suddenly be running
redis-sentinel..which would be unexpected at the very least. Some might
call it antisocial!

Ah, I did not realize that. Yes, "antisocial" is a good way to put it.

Like I said, I'm agnostic about how it is resolved. But for the sake
of providing a bit more context:

The reason I was after another initscript was so that puppet can
effectively manage redis-sentinel as a service of some kind (meaning
it can locate a initscript, upstart file, or systemd file). This is in
an existing redis puppet module. It fails to work properly for
redis-sentinel due to the lack of a way to manage the service. Adding
an initscript within puppet will resolve the problem. Having an
additional package would also resolve the problem, but in a different
way (it would need to be cognizant of the two packages and packaging
differences between rpm and deb-based systems).

For the time being I'll go ahead and create the required init script
and will watch this bug to see how things go.

--
Chris Dent                                   http://burningchrome.com/
                                [...]


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to