summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-05-20 20:49:15 -0400
committerMike Gilbert <floppym@gentoo.org>2020-05-20 20:49:15 -0400
commit315e511189328f8da4dc810f919b1232ecc50400 (patch)
tree827e6f1b50199be3c7c045523f209b7db18253a7 /net-misc/dhcpcd
parentmedia-gfx/fotowall: Fix build w/ Qt 5.15 (diff)
downloadgentoo-315e511189328f8da4dc810f919b1232ecc50400.tar.gz
gentoo-315e511189328f8da4dc810f919b1232ecc50400.tar.bz2
gentoo-315e511189328f8da4dc810f919b1232ecc50400.zip
net-misc/dhcpcd: redirect stdio to /dev/null in dhcpcd.service
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r--net-misc/dhcpcd/files/dhcpcd.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-misc/dhcpcd/files/dhcpcd.service b/net-misc/dhcpcd/files/dhcpcd.service
index 8430214d59b..8f9ad25e4d0 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