systemd: how to list enabled services

Toshio Kuratomi a.badger at
Mon Mar 28 16:45:48 UTC 2011

On Sat, Mar 26, 2011 at 12:06:47PM -0500, Ian Pilcher wrote:
> On 03/25/2011 11:30 PM, Toshio Kuratomi wrote:
> > On Fri, Mar 25, 2011 at 11:05:21PM -0500, Ian Pilcher wrote:
> >>
> >>     chkconfig --list | grep :on
> >>
> >> What is the systemd (systemctl equivalent)? 
> > 
> > ls /etc/systemd/system/*.wants/frobozz.service
> > 
> >
> > 
> No.  According to the cheatsheet, that is the equivalent of:
>     chkconfig frobozz --list
> So my question still stands.
Oops --

ls /etc/systemd/system/*.wants/

I see that further into the thread some people found another command that
seems to do what's needed without resorting to ls on the filesystem.  If
that's the case, then it should be added to the wiki.  Note that I have no
experience with that command so one thing to check is that it matches up
with the output from the "ls" command.  chkconfig --list isn't checking the
currently running services with this command but the services that will be
enabled in any runlevel (roughly a systemd target) should we be switched
into that runlevel.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : 

More information about the test mailing list