SystemD - F-16

Tom Horsley horsley1953 at gmail.com
Sun Nov 13 16:50:53 UTC 2011


On Sun, 13 Nov 2011 09:35:01 -0700
Kevin Fenzi wrote:

> sorry, I meant: 
> 
> systemctl list-unit-files | grep enabled
> 
> kevin

That almost does it, but there is still something
slightly different:

[root at zooty ~]# ls /etc/systemd/system/*.wants/*.service | wc -l
31
[root at zooty ~]# systemctl list-unit-files | grep enabled | wc -l
38

Looks like the extra 7 are things that aren't named .service.

So I think this does what I want:

systemctl list-unit-files | grep enabled | fgrep .service

Now I just need to find the option that makes it not truncate
long service names with ... and I'll be all set :-).


More information about the users mailing list