Skip to content

Conversation

@rhansen
Copy link
Member

@rhansen rhansen commented May 15, 2024

Fixes #655

rhansen added 3 commits May 14, 2024 22:12
When forking, ddclient redirects STDERR and STDOUT to `/dev/null`,
which prevents useful information from appearing in the systemd
journal (`journalctl`).
@rhansen
Copy link
Member Author

rhansen commented May 15, 2024

FYI @sergiomb2

@rhansen rhansen merged commit e291987 into ddclient:master May 15, 2024
@rhansen rhansen deleted the systemd branch May 15, 2024 02:16
@sergiomb2
Copy link

sergiomb2 commented May 15, 2024

[/usr/lib/systemd/system/ddclient.service:8] Failed to parse service type, ignoring: exec

@sergiomb2
Copy link

with: Type=simple works

@sergiomb2
Copy link

Centos 7

@rhansen
Copy link
Member Author

rhansen commented May 15, 2024

CentOS 7 has an old version of systemd, before exec was added (in v240). simple is also acceptable.

(Sorry for the comment churn; the GitHub app appears to be buggy.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

systemd logs

2 participants