systemd: how to list enabled services
a.badger at gmail.com
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
> > 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.
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
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20110328/90301fd9/attachment.bin
More information about the test