- From: Tollef Fog Heen <
>
- To: JJ Asghar <
>
- Cc:
- Subject: [chef-dev] Re: Proposed RFC for Ubuntu init service checking.
- Date: Sun, 17 Aug 2014 21:10:25 +0200
]] JJ Asghar
>
The TL;DR is basically: you can have any of 3 different ways to
>
start/restart/stop services in these three different releases and chef
>
can't figure out which one without some manual intervention.
IIRC, you can use service(8) for all of them, and you should since it
actually handles this correctly.
(As an aside, the code written in Lamont's pull request is naïve in that
it assumes that installed means running, which is not a valid
assumption. You can (and will) have machines that have sysvinit+systemd
installed, but which use sysvinit as their init system. You'll find the
same but which use systemd as the init system. There's also a comment
about problems when multiple init systems claim to support a given
service on a system; this is an implementation problem, but one that
should be given consideration before code is merged.)
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
Archive powered by MHonArc 2.6.16.