I would be happy with systemctl. For me, that would be fine. But, from what I'm just looking at, I can't use systemd yet (I'm on Ubuntu 14.04.2).

So I'm stuck with upstart.

The most adequate answer seems: http://askubuntu.com/questions/19320/how-to-enable-or-disable-services but even that doesn't convince me. Creating the .override file is clumsy and does not allow to enable a service.

Running the service from rc.local is very dirty and I guess wrong (when does it stop? when exactly does it start?).

Should I manually edit the /etc/init/modemmanager.conf file and remove its dependence on network-manager? That's a way, but also does not satisfy me 100 %.

I feel there should be a better way...

On 08/04/2015 10:34 PM, Luis Mondesi wrote:
I believe RHEL 7 does the right thing with chkconfig. It's simply an
abstraction. Systemctl is fine, but that's probably overkill for simply
turning things on or off.

systemctl status foo
systemctl disable foo
systemctl stop foo

As opposed to:
chkconfig foo off

My guess is that it should be relatively simple to write your own
wrapper once you know what you're doing. However, to keep things simple
for everybody else, it's better to have somebody who knows better
actually write this wrapper for the rest of us. That way the
documentation stays simple for all future init replacements. Makes the
vendors happy as well as the end users.

Just my 2 cents...

--
Luis

On Aug 4, 2015, at 16:09, Martinx - ジェームズ
<thiagocmarti...@gmail.com <mailto:thiagocmarti...@gmail.com>> wrote:

Does chkconfig still works with systemd?


On Tue, Aug 4, 2015, 16:59 João M. S. Silva
<joao.m.santos.si...@gmail.com <mailto:joao.m.santos.si...@gmail.com>>
wrote:

    What do you mean?

    Installing chkconfig in Ubuntu?

    On 08/04/2015 08:51 PM, Bob Holtzman wrote:
    > On Tue, Aug 04, 2015 at 05:38:03PM +0100, João M. S. Silva wrote:
    >> Hi,
    >>
    >> I suggest an equivalent of Fedora's chkconfig for server startup
    >> service administration.
    >>
    >> It seems strange that a simple solution for this problem does not
    >> already exist, but from all the questions that I've checked, that
    >> seems the case:
    >>
    >>
    
http://askubuntu.com/questions/656496/how-to-enable-disable-startup-services-in-ubuntu
    >>
    >>
    http://askubuntu.com/questions/19320/how-to-enable-or-disable-services?lq=1
    >>
    >> etc.
    >
    > Something wrong with downloading/installing it from a repo?
    >

    --
    João M. S. Silva

    --
    Ubuntu-devel-discuss mailing list
    Ubuntu-devel-discuss@lists.ubuntu.com
    <mailto:Ubuntu-devel-discuss@lists.ubuntu.com>
    Modify settings or unsubscribe at:
    https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
<mailto:Ubuntu-devel-discuss@lists.ubuntu.com>
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

--
João M. S. Silva

--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to