From 315e511189328f8da4dc810f919b1232ecc50400 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 20 May 2020 20:49:15 -0400 Subject: [PATCH] net-misc/dhcpcd: redirect stdio to /dev/null in dhcpcd.service Signed-off-by: Mike Gilbert --- net-misc/dhcpcd/files/dhcpcd.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-misc/dhcpcd/files/dhcpcd.service b/net-misc/dhcpcd/files/dhcpcd.service index 8430214d59b4..8f9ad25e4d01 100644 --- a/net-misc/dhcpcd/files/dhcpcd.service +++ b/net-misc/dhcpcd/files/dhcpcd.service @@ -7,6 +7,9 @@ Before=network.target network-online.target Type=forking ExecStart=/sbin/dhcpcd -q PIDFile=/run/dhcpcd.pid +# Avoid duplicate output on stderr/syslog +StandardOutput=null +StandardError=null [Install] WantedBy=multi-user.target -- 2.26.2