Re: systemd: how to list enabled services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> > 
> > https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet
> > 
> 
> 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.

-Toshio

Attachment: pgpHiXzrkgiR9.pgp
Description: PGP signature

-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux