Re: dh_installinit...
Thomas -Balu- Walter <debian@b-a-l-u.de> wrote:
> On Tue, May 18, 2004 at 08:43:40AM -0700, Matt Zimmerman wrote:
>>
>> Let it fail to start; simply don't allow this to break the postinst.
>
> Okay, after fiddling around a little and not being sure what solution
> I'd prefer I go for Matt's.
>
> To do so I need the initscript to make a difference if the package is
> called from postinst (don't exist with error status code) or not (exit
> with error status code to allow an admin to script something e.g.).
Why this? Why not just
invoke-rc.d $INITSCRIPT start || true
Regards, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: