[systemd-devel] systemctl alias + pattern

Alfred Sawaya alfred at huji.fr
Thu Jul 20 22:17:01 UTC 2017


Hello systemd folks,

I have created services units with a hierarchical name pattern. For
example:

   - company.software.component1
   - company.software.component2

And to be more user-friendly, I have specified some aliases:

   - c.s.component1
   - c.s.component2

Now, those commands work:

   - systemctl status c.s.component1
   - systemctl status company.sofware.*

But this command does not:

   - systemctl status c.s.*

So it seems that we cannot use pattern on aliases ?
If not, does it seems interesting for you that I implement this behaviour ?

(Systemd version 234).

Thank you,
Alfred
-- 
Cordialement,
Alfred Sawaya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170720/16b19bc6/attachment.html>


More information about the systemd-devel mailing list