systemctl list all possible (including unloaded) services

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

 



Hello, I'm trying to answer this question:

https://unix.stackexchange.com/questions/517872/systemctl-list-all-possible-including-disabled-services

Basically, I have a my_service.service that is disabled, I wish I
could "see that it is an option to start" by running systemctl, but it
doesn't seem to show up in any incantation of queries.  The reason
being I wanted to check that some /etc/init.d/XX scripts "had an
autogenerated service equivalent or not" and some were showing up in
the systemctl lists and some weren't (the disabled ones weren't, even
though still controllable by systemctl).  It was some newbie confusion
but still...confusing.

My hunch is that since it isn't auto started it is never "loaded" and
then doesn't appear in any query (if this is the case I really wish a
new command could be created to "list all units installed on the
system").

systemd 219 in this case.

Thanks!

-Roger Pack-
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux