I have a "service" that originates from an /etc/init.d/XX script, and a systemd wrapper is generated for it. It doesn't autostart in any runlevel, and when I run systemctl --all
or systemctl list-unit-files --all
it doesn't show up in any list.
My hunch is that because it has no dependencies, hasn't been started, it isn't "loaded" into systemd (so not enabled, not loaded) so systemd doesn't list it.
Is there a way to get a full list of all possible services, even those not yet started and that aren't auto-started? Or do a systemctl search
equivalent?
This related question only asks for a list of services that will be attempted at boot time.
The man
page for systemctl
under "--all" says
To list all units installed on the system, use the list-unit-files command instead
but these disabled units do not show up in the output of list-unit-files
.
systemctl show XX
?systemctl show XX
works, but I'm looking for a way to list "all the possible options for XX" as it were...even those that don't auto start, I added to the question.