Closed dniewinski closed 6 years ago
This looks reasonable to me, but we should probably put this on a new kinetic-devel
branch, and then call out that systemctl
is systemd-specific, and refer users to Indigo documentation for the Upstart details.
(Or refactor the whole thing to supply usage documentation alongside the individual plugins...)
@130s Ubuntu is changing over from service to systemd in the long-term. Currently both are supported, but that will change.
Well, usr/sbin/service
is still part of at least Ubuntu Bionic, see: https://packages.ubuntu.com/bionic/all/init-system-helpers/filelist
I'd be kind of surprised if they ever actually removed it, given that it's the common CLI between init systems— whether you're on systemd, upstart, sysvinit.
I will make a new kinetic-devel branch and store this there. I'll also make the suggested changed by @paulbovbel
You're replacing
service
withsystemctrl
. Can you elaborate why this change makes sense? I'm not a super expert in Linux, so tried to understand looking at pages like this but I'm just not yet sure if this is an improvement.