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

Re: Commands service and systemctl.



To: debian-user@lists.debian.org
In-reply-to: <[🔎] ZDl7YnwVOAIc81EZ@axis.corp>
References: <[🔎] cfc19c9c5ca1ce99717e4719cef818bc@easthope.ca> <[🔎] ZDl7YnwVOAIc81EZ@axis.corp>
Subject: Re: Commands service and systemctl.

    From: David Wright <deblis@lionunicorn.co.uk>
    Date: Fri, 14 Apr 2023 11:12:18 -0500
man 8 service

"SERVICE(8) ...
 ...
service  runs  a System V init script or systemd unit ..."

Initial release of System V was in 1983.  Initial release of systemd
was in 2010.  Probably service predates systemd.

service passes COMMAND  and OPTIONS to the init script unmodified.
For systemd units, start,  stop, status, and reload are passed through
to their systemctl/initctl equivalents.

For start, stop & etc. systemctl is more direct than service.  Might be
some functionality from service not available from systemctl.  Have to
dig deeper for that.

No mention that service will be outmoded by systemctl but appears so.

... rather than a wiki webpage.

The table in https://en.wikipedia.org/wiki/Iproute2 is comprehensive
and direct. Note heading "Utilities obsoleted ...".

... wiki ...

Any J. Doe can correct an error in a wiki.  In many (most?) man pages
deficiencies and errors endure.

                                      ... p.


Reply to: