Hi Kenyon,
Kenyon Ralph wrote:
> > And #602186 is not more than a wishlist bug. "service" is far from
> > being a standard like invoke-rc.d is.
> >
> > The standard for maintainer scripts is to use invoke-rc.d and calling
> > the init.d script directly if that command is not available.
> >
> > But checkrestart's output is not for maintainer scripts, so IMHO, Jörg
> > (submitter of #602186) has a valid point when he says that "service"
> > may be better suited for manual calling by admins as it seems to clean
> > up the environment first.
>
> I would prefer the output to use "service". I usually use service
> rather than copying and pasting the /etc/init.d output of
> checkrestart.
So you type it anyway instead of copying and pasting. And I always
type (i.e. don't copy and paste either) "/etc/init.d/$service". Since
we're both typing it, it shouldn't matter anyway with regards to that.
;-)
> Other distributions have a service command too (it comes from Red
> Hat), so I like the consistency it gives, in addition to the
> environment cleanup.
And I remember that there are also distributions which use scripts
called "Restart" (yes, with capital "R") and "Stop" and "Start" for
that. Not sure where I saw that. Maybe SuSE?
But IMHO the consistency over most distributions is still to use
/etc/init.d/ -- plus invoke-rc.d on debianesk distributions.
Anyway, I'd like to hear Javier's opinion on that.
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]