Skip to content

systemd-journald compatibility #2

@Weidav

Description

@Weidav

I know this repo hasn't seen any updates in a while, but it like the lightweight solution.
I recently migrated some of my overengineered services that run X times a day from docker to systemctl and this is one of them.

Usually I let systemd-journald manage the logs and check them with journalctl, but your script isn't compatible with it. When I use --log-console it throws this error:

cfddns.sh[3778639]: /usr/local/bin/cfddns.sh: 380: cannot create /dev/stdout: No such device or address

So for now i just use a logfile as suggested.

Is there a simple solution to this that I'm overlooking?
If not, than I'd look into this and see if I can make it compatible with both systemd-journald and a regular logfile.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions