Commit graph

8 commits

Author SHA1 Message Date
Richard Hansen
21de3cbc96 systemd: Make it easier to override the daemon interval 2024-05-14 22:12:36 -04:00
Richard Hansen
509ea8745a systemd: Set Restart=on-failure 2024-05-14 22:12:36 -04:00
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
nl6720
6312030c57
sample-etc_systemd.service: order after nss-lookup.target
This improves the chances that the local DNS resolver (e.g. dnsmasq,
systemd-resolved, Unbound) is up before the service runs and avoids
DNS related failures.

Pull in network-online.target via Wants= to comply with its description
in the systemd.special(7) man page and remove the redundant
"After=network.target" since network-online.target already orders itself
after network.target.
2023-04-10 19:51:27 +03:00
Gabriel Cruz
98462633bd
Update pid file path from /run/var/ to /run 2022-04-03 17:00:59 -03:00
Quien Sabe
c09ea35052 Updated example service file to use network-online.target 2022-01-16 09:08:46 -07:00
Steve8291
6b7800380c Adjust path to ddclient
Installing with `make install` automatically places the ddclient
executable in `/usr/bin/ddclient`. This service file has the wrong
path and that causes systemd to be unable to start ddclient.
2020-07-10 12:04:21 -04:00
Bumsik Kim
3feaf02ebb Add systemd sample and instruction 2019-03-20 12:29:47 +00:00