Conversation
Remove duplication of logs. Fixes #101.
|
Well, this looks trivial. Why was $PIPE even used? I found this: I am not sure what the issue is here, is it only to print to stderr? |
|
They problem I was trying to solve was getting the output to print both to the screen and to the systemd journal, since this can be set to run with a systemd unit. This sets up $PIPE here: But, after some searching I think the correct way is to print to stdout/stderr without setting up systemd-cat and then in the systemd unit specify |
|
Now it looks like it's not even necessary any more. It looks like the stdout automatically goes to the systemd journal for the unit The StandardOutput entry for
So, yep this was all unnecessary to begin with. Will update PR |
If this is run by a systemd service, StandardOutput defaults to journal already, so no need to control that here.
|
That is weird. But didnt you introduce that feature because it did not work before? Why does it work now? Looks way cleaner though :-) |
Remove duplication of logs.
Fixes #101.