[prev in list] [next in list] [prev in thread] [next in thread]
List: systemd-devel
Subject: [systemd-devel] systemctl alias + pattern
From: Alfred Sawaya <alfred () huji ! fr>
Date: 2017-07-20 22:17:01
Message-ID: CAEq_18DPvdb84WzHBTMQEDZ7wa2GzfiV=nnbZtDo+jKwYxSAaA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<div dir="ltr">Hello systemd folks,<div><br></div><div>I have created services units \
with a hierarchical name pattern. For example: \
</div><div><ul><li>company.software.component1</li><li>company.software.component2</li></ul><div>And \
to be more user-friendly, I have specified some aliases: \
</div></div><div><ul><li>c.s.component1</li><li>c.s.component2</li></ul><div>Now, \
those commands work:</div></div><div><ul><li>systemctl status \
c.s.component1</li><li>systemctl status company.sofware.*</li></ul><div>But this \
command does not: </div></div><div><ul><li>systemctl status c.s.*</li></ul><div>So \
it seems that we cannot use pattern on aliases ?</div></div><div>If not, does it \
seems interesting for you that I implement this behaviour \
?</div><div><br></div><div>(Systemd version 234).</div><div><br></div><div>Thank \
you,</div><div>Alfred</div></div><div dir="ltr">-- <br></div><div \
class="gmail_signature" data-smartmail="gmail_signature"><div \
dir="ltr"><div>Cordialement,</div><div>Alfred Sawaya</div></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic