ddclient/ddclient-delay-main-process-for-systemd.patch

13 lines
366 B
Diff

Index: ddclient-3.9.1/ddclient
===================================================================
--- ddclient-3.9.1.orig/ddclient
+++ ddclient-3.9.1/ddclient
@@ -847,6 +847,7 @@ if (opt('foreground') || opt('force')) {
print STDERR "${program}: can not fork ($!)\n";
exit -1;
} elsif ($pid) {
+ sleep(1);
exit 0;
}
$SIG{'CHLD'} = 'DEFAULT';