[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: orthanc-postgresql



On Wed, Mar 04, 2015 at 12:02:01PM +0100, Sébastien Jodogne wrote:

> > > By moving orthanc.init into the newly created
> > > orthanc-sqlite package, I had to move "debian/orthanc.init"
> > > to "debian/orthanc-sqlite.init". In turn, after
> > > installation, this renames "/etc/init.d/orthanc.init" as
> > > "/etc/init.d/orthanc-sqlite.init".
> > 
> > Whoa, really, why ?
> 
> Because other Orthanc plugins (e.g. orthanc-webviewer) need to restart Orthanc after their installation, in order for Orthanc to load them...
> 
> Concretely, they would need to do either
> "/etc/init.d/orthanc-sqlite restart" or
> "/etc/init.d/orthanc-postgresql restart" in their
> postinst/postrm, depending on the installed back-end. I
> therefore feel that it is more simple for all these back-ends
> to use "/etc/init.d/orthanc", so that the plugin packages can
> be agnostic of the back-end.

Sure, that's quite clear. I was rather wondering what forced
you to

>>> move "debian/orthanc.init" to "debian/orthanc-sqlite.init"

?  Is this Debian policy ?  Did lintian tell you to do so ? 
(if so this sounds like an override is needed on that)

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


Reply to: