ddclient/sample-etc_systemd.service
Richard Hansen c0a1431f78 systemd: Use Type=exec instead of fork
When forking, ddclient redirects STDERR and STDOUT to `/dev/null`,
which prevents useful information from appearing in the systemd
journal (`journalctl`).
2024-05-14 22:12:36 -04:00

11 lines
231 B
Desktop File

[Unit]
Description=Dynamic DNS Update Client
Wants=network-online.target
After=network-online.target nss-lookup.target
[Service]
Type=exec
ExecStart=/usr/bin/ddclient --daemon 5m --foreground
[Install]
WantedBy=multi-user.target