net-misc/dhcpcd: redirect stdio to /dev/null in dhcpcd.service
authorMike Gilbert <floppym@gentoo.org>
Thu, 21 May 2020 00:49:15 +0000 (20:49 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 21 May 2020 00:49:15 +0000 (20:49 -0400)
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
net-misc/dhcpcd/files/dhcpcd.service

index 8430214d59b454381cc98862d5f19c3f52029877..8f9ad25e4d018a2c13513f06dd0642a74370695d 100644 (file)
@@ -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