-
I have a backup script that I wrote for a container. Normally, when I run this interactively via Am I missing something?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
systemd captures stdout/err by default normally so I would expect this output to end up in the journal. |
Beta Was this translation helpful? Give feedback.
-
I think it's just not showing up because I am using When I tried running a command through a systemd service on another machine as my primary user (and not trying to isolate processes to service users) systemd and the journal captured the output as expected, so I am marking this as solved. |
Beta Was this translation helpful? Give feedback.
systemd captures stdout/err by default normally so I would expect this output to end up in the journal.
Are you sure you command logs anything, i.e. compare missing
-it
argument? Othwerwise journald might not allow a normal user to read logs under some circumstances, #26910