If this is indeed a bug and you are willing to let me fix it, I will also fix the Python 2 version.
Or if you want to fix it yourself, that is still totally fine.
Well, I did intend to allow any new type of unit to be matched as well. But let's make a quick fix here that SystemD files must have an extension - in contrast to SysV files.
Hello. It seems that
systemctl3.py
shows unit files that are ignored by SystemD in the status command.Input command
Expect (systemd 219)
Actual (
systemctl3.py
in master)The reason for this is that
match_sysd_units
accepts files without suffixes. More details are in the following PR. https://github.com/gdraheim/docker-systemctl-replacement/pull/171If this is indeed a bug and you are willing to let me fix it, I will also fix the Python 2 version. Or if you want to fix it yourself, that is still totally fine.
Thank you for the good product!