<div dir="ltr"><div dir="ltr">On Thu, Jan 23, 2020 at 7:36 PM Reindl Harald <<a href="mailto:h.reindl@thelounge.net">h.reindl@thelounge.net</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Am 23.01.20 um 18:32 schrieb Roger Pack:<br>
> Forgive me if this is too naive, but would it be possible for<br>
> systemctl to "immediately start outputting logs" (journalctl type<br>
> output) while it is in the middle of running a command? Ex: while<br>
> running "systemctl stop my_server" it could show the logs so we could<br>
> see what is going on? I do miss that from the /etc/init.d days and<br>
> feel so blind with systemctl now.<br>
> Thoughts?<br>
<br>
and why don't you jsut write a shell alias or simple wrapper for such<br>
trivial tasks?<br>
<br>
frankly "systemctl restart" hast to shut up because otherwise it would<br>
trigger cron mails and when you have to write a special option anyways<br>
you can also wirte an alias and be done<br></blockquote><div><br></div><div>I don't think cron jobs are very high on systemctl's priority list. Certainly lower than interactive use by the sysadmin. And if you actually have to write a cron job, you can just add --quiet and be done?<br></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>