3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/ddclient
Tuomas Tynkkynen 7532c5379d ddclient: Force line buffering on stdout
Status messages of ddclient go to stdout, which is block buffered by
default, so most of its output won't appear in the journal until it is
exiting:

-- Reboot --
Apr 19 11:31:04 xen systemd[1]: Starting Dynamic DNS Client...
Apr 19 11:31:04 xen systemd[1]: Started Dynamic DNS Client.
Apr 19 11:31:53 xen systemd[1]: Stopping Dynamic DNS Client...
Apr 19 11:31:53 xen ddclient[530]: === opt ====
Apr 19 11:31:53 xen ddclient[530]: opt{cache}                           : <undefined>
Apr 19 11:31:53 xen ddclient[530]: opt{cmd}                             : <undefined>
...

Fix this by adding a patch to set line buffering on stdout.
2015-04-19 12:32:04 +03:00
..
ddclient-foreground.patch
ddclient-line-buffer-stdout.patch ddclient: Force line buffering on stdout 2015-04-19 12:32:04 +03:00
default.nix ddclient: Force line buffering on stdout 2015-04-19 12:32:04 +03:00