Bug#422139: Please supply a sysvinit script
On Tue, Feb 03, 2009 at 06:48:56PM +0100, Kurt Roeckx wrote:
> On Tue, Feb 03, 2009 at 08:34:45AM +0000, Gerrit Pape wrote:
> > A separate binary package named git-daemon-sysv or so, that conflicts
> > and provides git-daemon-run, is the way I'd do the integration.
> Why should it provide git-daemon-run?
When I was creating Debian packages over the last years, private ones
and official ones, I sometimes wanted to make a package depend on a
service daemon (just the program), and sometimes depend on a service
(the daemon and the service enabled by default). If anyone designs a
Debian package that needs a running git-daemon service, it can simply
depend on git-daemon-run, if it just needs the service daemon, it can
depend on git-core. For the first case, there can be multiple
implementations of git-daemon-run.
> In my experience, having the init script in a different binary package
> than the daemon causes problems on upgrade. Mostly that the daemon
> isn't running aymore after an upgrade.
Hmm, I don't know these problems, but they sound solvable.