systemd: how to list enabled services

Dennis Jacobfeuerborn dennisml at conversis.de
Sat Mar 26 11:45:32 UTC 2011


On 03/26/2011 05:30 AM, Toshio Kuratomi wrote:
> On Fri, Mar 25, 2011 at 11:05:21PM -0500, Ian Pilcher wrote:
>> I'm in the habit of running
>>
>>      chkconfig --list | grep :on
>>
>> to list all of the services that are enabled on my system (usually right
>> after an installation, so I can disable all of the stuff that I don't
>> need).
>>
>> What is the systemd (systemctl equivalent)?
>
> ls /etc/systemd/system/*.wants/frobozz.service
>
> https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet
>
> Note that because systemd uses dependencies to tell what needs to be
> started, some services may start that aren't listed there if one of the
> listed services depends on it.

Note that I'm still running F14 and haven't played with systemd yet but 
given that this is one of the more obvious use-cases shouldn't there be 
something like "systemctl --list-enabled" that lists the enabled services 
and their dependencies?

Regards,
   Dennis


More information about the test mailing list