net-dns/dnscrypt-proxy: don't daemonize dnscrypt-proxy on systemd
authorSamantha McVey <samantham@posteo.net>
Sun, 25 Jun 2017 06:46:03 +0000 (23:46 -0700)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 25 Jun 2017 06:50:33 +0000 (16:50 +1000)
If dnscrypt-proxy is daemonized, journald cannot
log any errors that occur. All systemd service files
should *not* be daemonized.

Gentoo-bug: 618784

net-dns/dnscrypt-proxy/dnscrypt-proxy-1.9.4-r1.ebuild [moved from net-dns/dnscrypt-proxy/dnscrypt-proxy-1.9.4.ebuild with 100% similarity]
net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service

index 1363ac8f8fcd26a986459e65e430615ea8279596..4403254280a2d6c7d1201234042eb60874548d2a 100644 (file)
@@ -6,7 +6,7 @@ Type=simple
 PIDFile=/var/run/dnscrypt-proxy.pid
 EnvironmentFile=/etc/conf.d/dnscrypt-proxy
 ExecStartPre=/bin/rm -f /var/run/dnscrypt-proxy.pid
-ExecStart=/usr/sbin/dnscrypt-proxy --daemonize \
+ExecStart=/usr/sbin/dnscrypt-proxy \
        --pidfile=/var/run/dnscrypt-proxy.pid \
        --logfile=/var/log/dnscrypt-proxy.log \
        --local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} \