systemd: how to list enabled services

Toshio Kuratomi a.badger at gmail.com
Sat Mar 26 04:30:48 UTC 2011


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.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20110325/ac7f9725/attachment.bin 


More information about the test mailing list