I am not able to figure out what option to pass in StandardOutput=
for a
unit file (.service
), where I want to show some messages on the connected terminal
from where the service is started! (console
/tty
doesn't seem to be what I want)
Maybe /etc/systemd/system.conf
's global default DefaultStandardOutput=journal
can be changed, but I don't want to do that!
I am only interested in showing some progress/startup messages from my unit file
(like systemd-run -P
)
I am on Ubuntu 18.04.2
# systemd --version
systemd 237